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

Error: "Reference to non-existent field 'PixelSize' #27

Open
elegantEmily opened this issue Mar 5, 2021 · 5 comments
Open

Error: "Reference to non-existent field 'PixelSize' #27

elegantEmily opened this issue Mar 5, 2021 · 5 comments

Comments

@elegantEmily
Copy link

I was able to get the example to run through OpenXY, however when I try and run my data through it I am getting this error.
"Reference to non-existent field 'PixelSize'.
Error in HREBSDPrep (line 17)
Settings.ROISize = round((Settings.ROISizePercent * .01)*Settings.PixelSize);
Error in HREBSDMain (line 17)
Settings = HREBSDPrep(Settings);
Error in MainGUI>RunButton_Callback (line 564)
Settings = HREBSDMain(Settings);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in MainGUI (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)MainGUI('RunButton_Callback',hObject,eventdata,guidata(hObject))
Caused by:
OpenXY encountered an error. Re-select the scan file to reset.
Error while evaluating UIControl Callback."

When I look at my .ang file and grain file they seem to match the format of the example. I'm not sure what is going wrong, as in the example there isn't a step to set the PixelSize.

I have attached a text version of my ang file, my grain file and a jpeg of my first tiff image.

Have a wonderful day!
Emily

HR-EBSD_map20190801102733830_x0y0
N205DF_Area4_HREBSD_GrainFile_20210223.txt

@dtfullwood
Copy link
Contributor

Did you pull the latest version of OpenXY? There was an issue with Tiff files that I fixed recently (a few weeks ago).
Thanks
David

@elegantEmily
Copy link
Author

I just downloaded the newest version (I had one from 7/2020). Everything seems to be running now!

Thanks!
Emily

@elegantEmily
Copy link
Author

Update: It looked like my file was running ok, but then it could not save the results. This was the error message displayed:

"Error using save
Cannot create 'ErrorSettings.mat' because 'temp' does not exist.
Error in MainGUI>RunButton_Callback (line 569)
save('temp/ErrorSettings.mat');
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in MainGUI (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)MainGUI('RunButton_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback."

It saved the Analysis Parameters file but not the corrected ang file. These were the commands output before the error:

"
Entering HREBSDMain
Running HREBSDPrep
Getting Reference Image Indices...
Setting up parallel processing...
Starting cross-correlation
Running strain cross-correlation...
Time to finish: 129.4139 minutes
Starting Dislocation Density Calculation
1
Hexagonal
Analyzing and transferring files to the workers ...done."

@dtfullwood
Copy link
Contributor

Hi Emily, I was just going to look at it, but my Matlab license in the office had expired, so I will look at it on my home computer. Feel free to ping me in a couple of days if I forget to get back to you: [email protected]

@eretnek
Copy link
Contributor

eretnek commented Mar 6, 2021 via email

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

3 participants