01-30-2014 05:42 AM
Hi. I want to run batch parallel test and when test running, i want to run a VI which is the show test result. It shows testing,pass,fail like a lamp. Can ı do it? Is it possible.
01-30-2014 08:37 AM
I'm confused by the term "like a lamp". Can you post a picture of exactly which kind of lamp you are talking about?
Anything is possible in TestStand... 🙂 However, for your particular case I would need more detail before I can make suggestions about how to accomplish it.
when do you want the VI to appear? How is your test going to communicate results to it? UIMessages? Why not make it part of the UI in that case? Oh wait... the UI already does this. Is it that you want the UI to look differently than it currently does?
Anyhow, more detail would definitely help in getting you the right solution.
Thanks,
01-30-2014 10:20 AM
🙂 When ı run the system, ı run a VI at same time. I want to show test result this VI. I add screen and this show what ı want to do.
01-30-2014 11:27 AM
Boy I really don't know where to start here. I think I kind of understand better what you want.
First of all it seems like you just need to use the User Interface that ships with TestStand. The advanced one has a column on the left that will display the status of each socket. It is almost the colors that you asked for. It has additional icons as well (such as finished, terminated, etc..).
If you don't like the look of that then it makes sense to put what you want into a custom UI. Basically, you will need to use UI Messages to communicate back and forth between your UI and the engine to know the status of each socket.
If that is still not an option then here are a few things to consider:
At what point in the execution do you want the GUI to display?
How will you get information back and forth? You can pass the sequence context in and then monitor. Or you can use UI Messages. Or you can use the API (not recommended). Or you can use queues. Or you can use notifiers. Or you can use global variables. There are hundreds of options here.
How will you close the asynchronous VI? Again many options for this.
Pick your poison. Once you do I can direct you to information that can help you get started.
Regards,