NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

UI ExpressionEdit Control

Great thread! I have a question regarding the UI ExpressionEdit Control. What I want to do is utilize this in a custom step type. When the user adds one of these custom step types in a TestStand sequence, I want them to be able to add Local variables with selections made on a VI via the Expression Browser.. I can get the Browser to comes up no problem but it won't allow me to insert new variables. I.e. I can't figure out which property and/or method I need to do this. 
0 Kudos
Message 1 of 2
(2,984 Views)
Hi John,
 
I was able to accomplish this for a custom step-type by doing the following:
 
  1. Inside TestStand, create a new step type
  2. Right-click on the new step type and select Properties
  3. Select the Substeps tab and Add a LabVIEW Edit substep
  4. Choose the appropriate VI (you may use the VI attached to this post)
  5. Select OK
  6. Add the new custom step type to your sequence file
  7. Highlight the step and select the third tab
  8. Click the Edit button and the Expression Browser will appear

Using this method, you will be able to right-click on Local Variables and add a new variable.

If the VI was called during runtime, the option to right-click and add variables would not be available.  If this isn't the solution that you were looking for, please provide more details about your application and what you are trying to acheive.

Jessica
National Instruments
Product Support Engineer
0 Kudos
Message 2 of 2
(2,961 Views)