06-16-2010 03:27 AM
Hello,
I've got a problem with write to jpeg VI : when I choose to cancel the dialog box, my program is in trouble, as if I changed the state of my machine state... or if I re-initialized it.
So my question is : how can I manage it ? I have no access to write to jpeg block diagram, as it is password protected.
here is a screen of the sub vi. thanks
Solved! Go to Solution.
06-16-2010 04:02 AM
Do not use the implicit way to display the File Dialog but do it explicitly (File Dialog.vi in File IO palette >> Advanced).
Capture the error of the dialog if canceled (should be Code 43) and react properly on this in your application.
hope this helps,
Norbert
06-16-2010 04:07 AM
06-16-2010 04:38 AM - edited 06-16-2010 04:38 AM
Thanks to both of you, I post the solution if someone needs it