NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Read and Write 2D Array from Teststand in Labview using Set and Get property Value method

Hi All,

 

I am trying to read 2D Array from from Teststand using  "Get Property Value"  VI Function in labview

 

but I am facing error.

 

Thanks in advance ,

SV.

0 Kudos
Message 1 of 8
(1,796 Views)

Its Quiet Possible , using Get/Set Val variant (In Property Object).

Its always good to share the code you developed and the error you are facing to get the proper response.

Pazhanivel Thiruvenkadam,
CertifiedLabVIEWArchitect|| CertifiedTestStandDeveloper,
Currently able to Access LV2015&LV2017
0 Kudos
Message 2 of 8
(1,777 Views)

i am using normal Teststand API Function to test. 

0 Kudos
Message 3 of 8
(1,770 Views)

You can create your own Module for this purpose in LabVIEW

 

Snippet to Set Value.

 

TS-UpdateVariable.PNG

Pazhanivel Thiruvenkadam,
CertifiedLabVIEWArchitect|| CertifiedTestStandDeveloper,
Currently able to Access LV2015&LV2017
0 Kudos
Message 4 of 8
(1,763 Views)

Is this function will set and Get 2D Numeric Array Value from Labview to Teststans ? 

 

0 Kudos
Message 5 of 8
(1,757 Views)

I have used and worked fine for 1D Array, same should work fine for 2D Array so that's the reason we used Variant instead of Specific type.

Pazhanivel Thiruvenkadam,
CertifiedLabVIEWArchitect|| CertifiedTestStandDeveloper,
Currently able to Access LV2015&LV2017
0 Kudos
Message 6 of 8
(1,754 Views)

Yes , its works fine for 1D Array, but 2D Array it shows error

0 Kudos
Message 7 of 8
(1,747 Views)

Checked and works fine Even for 2D Array. Please Make sure you have created Variable with 2D Array and Calling Proper Names.

Its Better to share the Code which you have tried for better update.

Pazhanivel Thiruvenkadam,
CertifiedLabVIEWArchitect|| CertifiedTestStandDeveloper,
Currently able to Access LV2015&LV2017
0 Kudos
Message 8 of 8
(1,734 Views)