NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Return 2D string array to teststand

Another query on Teststand !

I need to continuously return a 2D array from LV7.1 to TS4.

I can return a single dimension array using the Teststand - Set Property value.vi.
This is a polymorphic vi but does not cater for 2D arrays only 1D, number, boolean, object, string.

Is there a variant of this VI which can return 2D arrays ?



0 Kudos
Message 1 of 4
(3,573 Views)
Hi Mike,

I was also looking for its variant to return 2D array.
Unfortunately i didnt find. But what I did was, I opened this vi and modified it to return 2D array from teststand and it worked. Modification of this VI is simple. Open the VI and change the type input of "Variant to Data" vi. Also change the type of output terminal to 2D array.
I am attaching a Get Property Value vi which I modified for my use. With this example you can modify the Set Property Value vi as well.
After that, use this vi instead of default Get/Set property value vi to access data from TestStand
Regards,
Kaustubh.
0 Kudos
Message 2 of 4
(3,569 Views)
Thats a good idea Kaustubh.
I wasn't able to open your example due to running 7.1 but I modified my own Set Property Value.vi and renamed and it works now with 2d arrays.

Thanks again !
0 Kudos
Message 3 of 4
(3,558 Views)

Thanks for posting this I was able to modify for a 2D string array !

0 Kudos
Message 4 of 4
(2,942 Views)