08-22-2007 08:17 PM
08-23-2007 01:05 AM
Joe,
The simplest way would be to write it to a StationGlobals variable then let your sequences pick up the information when required.
When you say global variable, you are referring to a aLabVIEW right?
This serial number you enter on your OI, I am assuming this is to replace the dialogbox that pops up when you Press 'Test UUTs'?
Regards
Ray
08-23-2007 07:48 AM
08-23-2007 08:08 AM
The people that I work with would rather stay away from station globals. I guess if I could get it to actually pass parameters it would be OK but I cannot even get it to pass anything.
What I have is a user interface built in LV 8.5. On this user interface I have an array of 15 clusters that contain a string and a boolean. These represent serial # and slot active. I also have an array of 50 booleans that represent the tests to perform. The sequence is already setup for this. My flow goes as follows.
I initiate all the teststand controls and load three sequence files and show them on the listbar. The user is allowed to choose the sequence and based on the sequence I enable or disable tests and controls. They can enter in the serial # and slot active at any time before hitting the testUUT button. Upon hitting the button I would like to send all the parameters to teststand (trouble area) and let it test with no user interaction. I have not gotten anything to work.
Thanks Ray and Paul for all of the help. What do you all think is the most robust way of doing this.
It just seams as if this should be so simple but yet it is so hard to get working.
I wish that they had a control that did this for you like they do for everything else.
Paul please send me that code if you would please. this souns very interesting.
08-23-2007 09:05 AM
08-23-2007 09:37 AM
08-23-2007 09:46 AM
Hi Joe,
Make sure your lookup string matches up with what your referenced to.
eg
If your reference is StationGlobals then the lookup string to a variable will be "my_variable"
if your reference is the SequenceContext the the lookup string will be "StationGlobals.my_variable"
But these days you dont need to use the set property nodes as you can pass it directly from and too teststand via the VI connector pane.
Paul's idea seems like a good one. I'll have a look at that if I get some free time.
Regards
Ray
08-23-2007 01:00 PM - edited 08-23-2007 01:00 PM
Message Edited by AndrewMc on 08-23-2007 01:08 PM
08-23-2007 01:49 PM
So the sequence would be something like this.
Thanks for all of the help I really do appreciate it. Learning something new sure does make you feel stupid sometimes........
08-23-2007 02:22 PM