02-01-2018 02:16 PM
Hi,
I am using customized teststand simple user interface. I have added a check box on simple user interface which should act like .
1. Before running the sequence, it should be enabled.
2. During sequence running, it should be disable.
3. Once sequence execution completes, the check box should be enabled .
i could able to do it for case 1 and 2, but for case 3, i am not sure how Teststand userinterface came to know that Teststand completes the sequence execution. I am thinking there should be call back method from teststand to simple userinterface to indicates sequence execution completes. Based on that i could enable the check box again.
Regards,
Anand
02-02-2018 02:14 AM
Hi Anand
I would use UI Messages to pass the information about the state of a running Test Sequence to the user interface. You can learn about them here. Its a little bit of work to get the communication mechanism going but once you have it place you can embed all sorts of information into your message(s).
Other UI Message related stuff:
http://zone.ni.com/reference/en-XX/help/370052W-01/tsexamples/infotopics/progress_status/
Steve
02-06-2018 07:27 AM
Hi Anand
There is a callback to say that the sequence has ended. It is the Endexcution callback. You can set this up in the Simple interface as part of the Register Event Callbacks State.
Hope this helps
Mike