Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to find EMEBSD #23

Open
luqi-cloud opened this issue Dec 9, 2020 · 1 comment
Open

Failed to find EMEBSD #23

luqi-cloud opened this issue Dec 9, 2020 · 1 comment

Comments

@luqi-cloud
Copy link

I want perform cross-correlation to calculate GND by OpenXY.
I have installed the EMsoft. And I can run the EMEBSD on the windows command line. But the openxy can't find the EMEBSD at /.../EMsoft/bin/.
image
image

@caldrews
Copy link

caldrews commented Mar 1, 2021

Hi! I am not involved with OpenXY development but there is a simple workaround I use and has worked on two installs. Use at your own risk, but I wanted to try and help. EMsoft wants the install directory (EMsoft_version_/EMdata/) not the bin directory (EMsoft_version_/EMdata/bin/) listed in its config file if you follow their instructions, while OpenXY is looking for EMdata/bin/. Now, I only kind of understand what that second if ~exist loop does, but it appears to be looking within the bin directory for the EMEBSD.exe but the EMsoft config file points to the parent EMdata (or install) directory.

Simple fix to this is to make a backup copy of your GetEMsoftPath.m file just in case, then manually assign the EMsoftPath and EMdataPath variables to the correct directories wherever they are referenced in GetEMsoftPath. So for example on lines 3, 18, and 36 where EMsoftPath is set, I just set this to EMsoftPath='G:\EMSoft_OpenXY\EMsoft\bin'; and did the same for EMdataPath. Dynamic simulations can be set for me now and I never get the 'EMEBSD' command not found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants