NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to assign values to array of containers

Hello,

    I have an array of containers in sequence, it contains numbers and containers, the fields of containers are also numbers.

How can I assign values to these numeric variables programmable? 

I tried setelements() function, but it convert containers to a simple numeric elements.

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

Assuming your container is a Local, build statements like the following examples:

 

NOTE:  I have selected to access random elements of the Used array:

 

Locals.Used[2].CmdIgnStat = 1234

Locals.Used[0].BeamStatus.HBInv = 5678

 

0 Kudos
Message 2 of 2
(2,273 Views)