LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

Max Array size

Hello,

 

In the MATHSCRIPT WINDOW I am using the csvread command to load up the data file.  I'm have difficulties in loading up large data files of 2 x 131k rows (3.8 mb), it doesn't load and the egg timer just stays there for a long time.  I have tried smaller files of 2 x 52k rows without any problem.

 

Is there is size limitation to the size of the array?  I do need to load large data files in the MATHSCRIPT node so is there is workaround?

 

Thanks in advance

0 Kudos
Message 1 of 2
(6,529 Views)
Hello,

LabVIEW MathScript currently limits arrays to around 10 000 000 elements.  You should be able to load your data into MathScript.  However, there are some inefficiencies when working with arrays in MathScript and many copies of the data are made.  You could try loading your data overnight.  If it never completes, then we have a larger problem.  If it does, then it is simply determining how long it takes.  We are working to optimize the memory utilization for future releases.

Grant M.
Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments
0 Kudos
Message 2 of 2
(6,516 Views)