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
(2,897 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.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 8
(2,878 Views)

i am using normal Teststand API Function to test. 

0 Kudos
Message 3 of 8
(2,871 Views)

You can create your own Module for this purpose in LabVIEW

 

Snippet to Set Value.

 

TS-UpdateVariable.PNG

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 4 of 8
(2,864 Views)

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

 

0 Kudos
Message 5 of 8
(2,858 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.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 6 of 8
(2,855 Views)

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

0 Kudos
Message 7 of 8
(2,848 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.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 8 of 8
(2,835 Views)