06-11-2010 11:55 AM
I'm working on a TestStand step type with LabVIEW to configure a Spectrum Analyzer and I would like to be able to browse TS variables at the sequence edit time, so I included the "TestStand UI ExpressionEdit Control.ctl" in the front panel of the Edit LabVIEW VI Call Module but the "Expression Browser Dialog Box Button" is disable and I cannot find the way to enable it.
Could somebody please let me know how to enable this button or let me know what is the best way to browse variables and select them as parameters for my LabVIEW modules at TS run time?
I'm using LabVIEW 2009 and TestStand 4.2
Thanks,
Solved! Go to Solution.
06-11-2010 12:26 PM
06-11-2010 01:34 PM
I appreciate your response, but I'm still confuse. How can I pass the Sequence Context to the Expression Edit Control?
I would like to enable the Browser Dialog Box Button to be able to select variables and edit expressions in the LabVIEW fp at the TS sequence edit time. Do you have a sample of passing the Sequence Context to this control?
Thank you,
Hecuba
06-11-2010 02:12 PM
Go to the block diagram. You should be able to find the control node there. Add a property node and wire it to the control. Select "Context" from the list. You will need to wire in a Sequence Context object. I'm assuming you are calling this code module from TestStand somehow? If so, you can add a control for the context. Add it to your connector pane. Inside of TestStand where you call that VI, reload the prototype, and pass in "ThisContext".
Hope this helps.
06-15-2010 10:38 AM
I found an example of the "TestStand UI Expression Control.ctl" and it works just the way I need it. (check the link)
Proper use of "TestStand UI ExpressionEdit Control" in LabVIEW
http://forums.ni.com/ni/board/message?board.id=330&requireLogin=False&thread.id=10609
The "Expression Browser Dialog Box Button" F(x) stays disable while editing the VI, however it become available when the VI is called from TestStand.
Thank you,
Hecuba