LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading waveform from file. Can't read more than 1000 points.

I save graph data this way:

 

SydneyAVDE_0-1691072763014.png

SydneyAVDE_11-1691073595805.png

 

SydneyAVDE_9-1691073434511.png

 

SydneyAVDE_1-1691072811916.png

 

Measurement is at 10000Hz, with a chart history length of 100000.

 

SydneyAVDE_4-1691072932321.png

 

I read the graph data like this:

SydneyAVDE_5-1691073093392.png

SydneyAVDE_10-1691073455373.png

 

SydneyAVDE_7-1691073290845.png

The read graph is also 100000 history length.

 

It is only 1000 measure points.

SydneyAVDE_8-1691073334729.png

 

What do i do wrong?

 

Thank you in advance and for reading. 

0 Kudos
Message 1 of 10
(1,432 Views)

I tried to replicate your condition. I generated a waveform with the same number of points, it read well. 


Can you confirm when you save the data, the number of points going to the file ? 

LVNinja_0-1691075147784.png

 

0 Kudos
Message 2 of 10
(1,426 Views)

We cannot really debug pictures. A good guess is that the local variable contains stale data.

 

Why exactly are you using charts instead of graphs?

 

Please attach some simplified code that demonstrates the problem.

0 Kudos
Message 3 of 10
(1,390 Views)

We know now the problem is at the write part. This helps.

 

SydneyAVDE_3-1691136984978.png

 

 

SydneyAVDE_0-1691136529643.png

 

The spreadsheet file that is generated is also only 1000 measure points.

 

SydneyAVDE_2-1691136951524.png

 

 

0 Kudos
Message 4 of 10
(1,365 Views)

Hi Sydney,

 


@SydneyAVDE wrote:

We know now the problem is at the write part. This helps.


The "write part" is not the problem.

The problem is (as told before) the data in your local variable: when your waveforms only contain 1000 samples then you cannot save more samples in your files…

 

As you use charts and rely on their history: using the local you only save the latest data of the chart, but not the whole history!

 

Why do you need to convert an array to a cluster just to index the (waveform) elements in the array? Why not use IndexArray???

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 10
(1,361 Views)