ni.com is currently experiencing issues.
Support teams are actively working on the resolution.
ni.com is currently experiencing issues.
Support teams are actively working on the resolution.
07-25-2008 10:39 AM
Solved! Go to Solution.
07-25-2008 10:51 AM - edited 07-25-2008 10:52 AM
07-25-2008 10:54 AM
Thanks...will that stop the rest of the event from going forward? ... or do I need to put the file open stuff in one event and the cause an event to handle the successful open of the event seperately rather than trying to handle it all in one event?
Hummin.
07-25-2008 11:15 AM - edited 07-25-2008 11:18 AM
Was little bit wrong answer, sorry. Deleted.
07-25-2008 11:16 AM
Hummer1,
This is interesting. If you take the existing example and strip everything down except for the dialog it doesn't error out (Interactive Play Sound File.vi). If you create a new dialog it does. Even more interesting I copy the working dialog to the non-working dialog and one works the other doesn't...they look to have the same setting:) Unless a property node has been changed removed and saved? To check this (OK I hope your still following me) you can disable one or the other and make the error follow the other non-disabled dialog
Regards,
-SS
07-25-2008 11:31 AM
I don't know what your code looks like, so I can only provide a general answer. Basically, you can enclose the code after dialog in a case structure driven by the "cancelled" output.
@Hummer1 wrote:
Thanks...will that stop the rest of the event from going forward? ... or do I need to put the file open stuff in one event and the cause an event to handle the successful open of the event seperately rather than trying to handle it all in one event?
07-25-2008 01:16 PM
07-25-2008 01:28 PM
07-25-2008 01:51 PM
07-25-2008 02:28 PM - edited 07-25-2008 02:29 PM
You do get an error. Put an error out indicator on the output. You've probably got automatic error handling turned on. As to why that's not triggering, I can't say - I never use that automatic error handling stuff.
@ShotSimon wrote:Still doesn't explain why the file I posted never gets an error when you cancel it -SS