03-12-2015 06:27 AM
Hello,
I am using the PXIe-4139 SMU to source a current sequence that starts when a trigger is received and takes about 40 seconds to complete.
After the niDCPower Initiate VI I have inserted the niDCPower Wait For Event VI with a timeout set to 300 seconds to allow for enough time to receive the trigger and complete the sequence. This VI waits for the Sequence Engine Done Event.
Now this works fine, however, when the user wishes to stop the programm for whatever reasons, they have to wait the full 300 seconds until the Wait For Event VI produces a timeout error and stops the programm. This is rather inconvenient. How can I change the programm so that the user can stop it even when the Wait For Event VI hasn't reached its timeout?
I tried this:
But this doesn't work. For some reason, I get a timeout error with code -200474 but the boolean operator returns FALSE.
Any other ideas?
03-12-2015 07:38 AM
03-12-2015 07:45 AM
Hi Mike,
there is no such output. And I think I can't use an event structure because I already have an event structure in the main program.
04-01-2015 01:49 AM
No ideas? Anyone?
04-01-2015 06:06 AM