Hi,
Thanks for your response. I am really appreciate your help. I will
try your suggestion for my application. Thanks again.
The easiest way is to open (create) the file once at the beginning of
the acquisition, and leave it open. You should use DENY WRITE
permissions, at least, to prevent other apps from writing the file.
Start with an empty array of data in a shift reg.
Repeat
Get new value
Use BUILD ARRAY t
Are you reading the 15 minute data file and computing mean? how
about, writing the data to file as you are but adding the running sum
of each value and dividing by N at the end of the sample period. This
will eliminate the file read/compute accumulate the running sum as a
double so that you don'
Hi,
Thanks for your response. According to my designd program, I have
already done the part of the latest 9000 samples, and I did
open/writing/closing the file each time, and it did disturb my timing
on the data-collection part. Therefore, is there any method or
solution to overcome this issue?
If I understand you correctly, the act of writing the file is
disturbing your timing on the data-collection part.
You need to have an average of the latest 9000 samples (15 * 60 * 10),
and write the new average every 100 mSec.
Are you opening/writing/closing the file each time? While that's the
Hi,
I work on a labview project. I need to record data from compact field
point every 100ms and calculate 15min average value of the input data,
then save the average value into file continuously. I have already
done the data record part. My problem here is when labview save the
result to file,