03-15-2012 12:11 PM
I'm using PXI6552 with scripting. I use the wait instrcution with scripttrigger (Digital edge).
I would like to know if there is a possibility to configure a timeout for the Wait instruction because in the case the trigger never happen, I don't want to block my script
03-20-2012 01:53 AM
Thank for using National Instruments discussion forums.
If you have questions about scripting,please refer to the API Community: LabVIEW Scripting Main Board. I think you will get the best help there.
National Instruments France
03-20-2012 03:48 AM
My question is not about LabVIEW scripting but about HSDIO scripting, so I'm not sure The API Community: LabVIEW Scripting Main Board is the right place to post my question.
could you confirm?
03-21-2012 02:42 PM
You can configure the niHSDIO Wait Until Done VI or C function to give your script a programmatic timeout parameter, which will cause your program to error and exit gracefully in the event that a hardware script trigger is not detected within the timeout period specified by your code. I hope this helps!