04-13-2012 08:16 AM
Hi,
I'm trying to figure out how to let the user give some inputs before the test starts. I would like some sort of dialog to appear with some default values, and let the user be able to change them. Is this possible?
Thanks
Solved! Go to Solution.
04-13-2012 08:35 AM
You can use the Message popup step type, or create your own step in your favorite language!
04-13-2012 08:37 AM
Just thought I'd mention that I already tried the message box approach, but that's not really what I'm looking for. There are about 10 variables, strings and numeric, that I would like the user to see and be able to change before run time.
04-13-2012 08:38 AM
Sorry, I didn't see your post. Is a LabView GUI an option?
04-13-2012 08:42 AM
Yes, you just have to create a VI, call it using the "Action" step type, select Show VI front panel when called. Then you can link your VI output to testStand variables!
place your step in the Setup step group or override the PreUUT callback.
04-13-2012 09:42 AM
Thanks! Makes perfect sense. I'm having some troubles linking my output to a testStand variable though. I have a numeric array out from the VI and a numeric local variable in TS. In the module tab of the action I've added the name of my variable, Locals.Local, without any errors, but the values doesn't seem to get in the variable when I run the test. Is my approach wrong?
04-13-2012 09:51 AM
If your VI output is a numeric ARRAY, then I guess (without seeing the sequence) that the issue is you are trying to link a SINGLE numeric variable in teststand...