08-03-2023 09:42 AM
I save graph data this way:
Measurement is at 10000Hz, with a chart history length of 100000.
I read the graph data like this:
The read graph is also 100000 history length.
It is only 1000 measure points.
What do i do wrong?
Thank you in advance and for reading.
08-03-2023 10:05 AM
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 ?
08-03-2023 12:02 PM
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.
08-04-2023 03:16 AM
We know now the problem is at the write part. This helps.
The spreadsheet file that is generated is also only 1000 measure points.
08-04-2023 03:23 AM - edited 08-04-2023 03:23 AM
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???