06-14-2013 03:27 AM
I'm using the TestStand 2010 simple gui, (Labview).
Problem I have with it is that it allows you to press the "Start Test" button multiple times, creating a instance of the test seq each time the button is pressed.
This causes a big problem for my system.
Is there anyway to disable the "Start Test" button after it has been pressed once, or only to allow one instance of the sequence to run ?
Thanks
Solved! Go to Solution.
06-14-2013 09:05 AM
You just have to register StartExecution and End Execution events in Configure Event Callbacks.vi
Pass your button references as User Parameters and in the former disable them and enable them back (using property nodes) in the latter and voila you are done.
06-16-2013 09:45 PM
Thanks for the reply!
What VI-REF the start and EndExecution are linked to ? (I've tried them all!)
06-17-2013 07:41 AM
You need to right click on the node and select Create Callback VI.
06-17-2013 08:04 AM
Thanks for the help, spent over 3 hours on this today but can't get it working.
All these callbacks and events is new territory for me .....
06-17-2013 09:21 AM
No worries. Here is the project saved in LabVIEW version 8.0.
Hope that helps.
06-18-2013 04:28 AM
Can't seem to open the VI in Labview 2011, keeps crashing.
Sorry to be a pain, would you mind attaching a screenshot of the main VI ?
06-18-2013 06:31 AM
06-18-2013 08:11 AM
Thank you so much!!
03-01-2019 02:44 PM
Thanks a ~ton~ .aCe. !!
I will add one caveat that threw me off for a while:
When creating the Callbacks you have to wire the user parameter FIRST before creating the Callback VI or the VI Ref will be broken.
Thanks again