NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

PropertyObject - Passing values from ArrayX to empty ArrayY but with dynamic ArrayX Name

Hello,

 

sorry for the title... couldn't find a better one.

 

I have a String ArrayName with value "ArrayX".

 

Now I SHOULD have two arrays in e.g. Local. One is ArrayY which will be there. And the second array should be there with the name "ArrayX".

With GetPropertyObject one can find the ArrayX in Locals but I am not able to pass the Arrays Elements from ArrayX to ArrayY, even though both have the same custom DataType...

 

Remember all I now about the ArrayX is that I can only access it by using the String ArrayName.

 

One of my attempts (not working) is:

Locals.ArrayY = Locals.GetPropertyObject(Locals.ArrayName, PropOption_NoOptions)

 

Thanks,

Adrian

CLA
0 Kudos
Message 1 of 1
(573 Views)