NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Array of TestStand ExpressionEdit controls in Labview

Hi,

 

in order to create some Step Types, I'm trying to integrate an array of Teststand ExpressionEdit controls in a Labview interface (i want to fill an array of parameters but the size is not constant).

 

First, it's not possible to put simply the expressionEdit control into an array. I create such an object with the following method :

* create a cluster with a simple control in it like a string

* replace the control by a TestStand UI ExpressionEdit Control

* put the cluster in an empty array

 

However, by creating this object, if you expend the array, the appearance of the interface becomes very strange : the controls are blinking, the menu of Labview and other things don't work anymore.

 

I imagine that it's not a proper use of activeX which cause those disfunctionment.

 

Any idea to solve this?

 

Thank you,

 

Vincent

 

PS :I use Teststand 4.2 ; Labview 9 ; Windows XP

0 Kudos
Message 1 of 2
(2,923 Views)

Hi Vincent,

 

Unfortunately, LabVIEW does not support arrays of ActiveX objects - the behavior you describe will occur for other activeX controls besides the TestStand controls.  A couple possible ideas for you:

 

  1. Grouping the expression controls on the front panel using a decoration, then build an array of the references on your block diagram.  
  2. Use string controls for your expressions, and use the Engine.CheckExprSyntax or Engine.CheckExpression methods to check the expression syntax.

Hope this helps!

Al B.
Staff Software Engineer - TestStand
CTA/CLD
0 Kudos
Message 2 of 2
(2,868 Views)