LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Datalogging using Waveform for long hours

Hi all,

 

 Im logging the data using the waveform. The chart length size is given as 1024. I need to log the data for long hours (5 to 10 hours). How much i have to set in the chart length ? how it is calculated ? Is it the right way for extended period of data logging ?

 

Naganatha Subramanian

0 Kudos
Message 1 of 4
(2,320 Views)

hi

you can change the history lentgh from 1024 to 36000... i guess it will require a lot of memory though

N

0 Kudos
Message 2 of 4
(2,309 Views)

@naganathas wrote:

Hi all,

 

 Im logging the data using the waveform. The chart length size is given as 1024. I need to log the data for long hours (5 to 10 hours). How much i have to set in the chart length ? how it is calculated ? Is it the right way for extended period of data logging ?

 

Naganatha Subramanian


I'll assume you are asking about the "Wavefrom datatype" when used with charts.

 

The history length is the "number of waveforms" and not the number of points. If you present an hours worth of data once every hour, it will display 1000 hours (in thoery, never tried it with those numbers and high sample rates will tax memory).

 

If your app spec has a hard and fast req that it drop suff older then the code will have to regularly examine the time of what is in the history and explicitly remove the old stuff ( read history, toss old, redefine history).

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 4
(2,301 Views)

Post your current code. If you want to log data for a periode. The best thing is to write data in chunkes to a file. What is your sample speed?

 



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 4 of 4
(2,291 Views)