NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how to pass large amount of data between steps

Solved!
Go to solution

Hi all,
I have some LabVIEW VIs for data acquisition。
I need to pass large amount of data(array size >5000000 each time) from one step to another.
But it is not allowed to set array size larger than 5000000.
Any suggestion?

 

----
czhen
Win 10 & LabVIEW 2014 SP1
0 Kudos
Message 1 of 5
(4,415 Views)

maybe use of TDMS files saved to RamDisk drive?

http://www.krzysztofszewczyk.net
0 Kudos
Message 2 of 5
(4,389 Views)

You probably don't want to copy such a large array. I'm not an expert on LabVIEW, but I suspect there is some way to keep the data stored in labview and just pass a reference or someway to access it again in to TestStand. As long as you don't need the data in TestStand directly, this will probably be a lot more efficient, since passing the data into teststand would require making a copy of the huge array.

 

-Doug

Message 3 of 5
(4,383 Views)
Solution
Accepted by topic author czhen

In your LabVIEW code, put the data into a data value reference.  Pass this reference between your TestStand steps.  As an added bonus, you will not get an extra copy of the data at each step.  You will need to use the InPlace element structure to get your data out of the data value reference.

Message 4 of 5
(4,356 Views)

Many thanks to everyone.

 

----
czhen
Win 10 & LabVIEW 2014 SP1
0 Kudos
Message 5 of 5
(4,334 Views)