10-24-2008 02:47 PM
I have a front panel (TS Front Panel.vi) and a VI that does the work (Traffic Lights.vi). I want TS to run the operation (Traffic Control.seq) similar to the way that my demo VI (Traffic Lights Demo.vi) does it.
Any help for a green TS user? If my design indicates that I am so badly out-of-line that it cannot be fixed, I can accept that--just say so.
Thanks,
kc64
10-24-2008 04:41 PM
Hi kc,
I liked the demo.
I think that you are already mimicking your demo VI. I don't think I fully understand your issue. Do you need the Front Panel of the TS Front Panel to show all the time? Why don't you just call the demo VI?
I made a few changes to keep your references and such consistant.
Regards,
10-24-2008 05:01 PM
>>I liked the demo.
Thanks. :^)
>>I think that you are already mimicking your demo VI. I don't think I fully understand your issue. Do you need the Front Panel of the TS Front Panel to show all the time?
Yes.
>> Why don't you just call the demo VI?
I am trying to replace the demo VI with TS. I want to have just Traffic Lights.vi used in TS and set the obj refs and do the looping under TS control.
10-24-2008 05:04 PM
10-24-2008 06:54 PM
Created an example that shows one way to do it. It's really too hard to explain everything in a post.
Basic things you ought to know about this example:
Run VI Asynchronously step creates a new thread for the TS Front Panel VI
Start and Stop TestStand Modal VIs inside of TS Front Panel make it Modal to TS
Passing properties to and from TS to the TS Front Panel VI is done using Get and Set TestStand Property VIs You need this because it's in a different thread. The Sequence Context is what allows you to do this.
Give it a look and let me know if you have any questions.
Regards,
10-27-2008 10:54 AM
Jigg--
I am very pleased with your solution. Thank you so much for your help.
kc64
10-28-2008 12:19 PM
Hey kc64,
Just came accross this example today and thought you might be interested as it accomplishes the same thing just in a different way-
http://zone.ni.com/devzone/cda/epd/p/id/6045?submitted=yes
Regards,
10-28-2008 12:25 PM