01-27-2012 08:55 AM
Hi,
I've modified the sample Operator Interface shipped with TestStand.
Buttons are linked to subsequences, so when a button is pushed a subsequence is running (boolean buttons).
What I would like to achieve is that, once a subsequence was called and the result was OK (pass) then the color of the button should change to green.
If the subsequence is failed then the button should change to red.
Thanks for any suggestions in advance.
Solved! Go to Solution.
01-27-2012 09:40 AM
Use a porperty node to do this. See the example
01-30-2012 04:39 AM
Hi,
You can find an example in Example Finder: "Property Nodes.vi" . It shows how you can change any properties for an object from your program.
You can find more examples on zone.ni.com, like these:
- Using Property Nodes to Change the Color of a Slide Bar https://decibel.ni.com/content/docs/DOC-2133
- Programatically Change the Color and Visibility of a Boolean using Property Nodes https://decibel.ni.com/content/docs/DOC-16569
Regards,
01-30-2012 06:42 AM
Hello Peter,
Thanks for your reply.
My question would be now, how can I get the subsequences result (pass / fail) from Teststand during the run of the program?
Thanks.
Istvan
01-31-2012 08:40 AM
Hi,
I think it would be better to create a new thread for this question, because it is independent from LV and Porperty nodes. I would be good to have here a link to the new thread.
(And..probably you can find the solution after a little searching. I suggest to start here: http://zone.ni.com/devzone/cda/tut/p/id/4267)
If you got the answer for your previous question, please sign it as a solution (Options ->Accept as solution)