LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Datalog Write can only append and not replace record

Solved!
Go to solution

I noticed that Datalog Write function only appends data to an existing datalog and did not replace the record set by Set Datalog position. That is very odd, is this by design or I missed something ?

 

Clipboard_20151012.png

0 Kudos
Message 1 of 3
(2,642 Views)
Solution
Accepted by topic author zigbee1

Hi Zigbee1,

From the context help on LabVIEW, the Write Datalog Function "sets the current datalog position to the end of the file before writing". 
It also explains in the link below that you cannot overwrite a record after LabVIEW writes it to a datalog file. 

 

http://zone.ni.com/reference/en-XX/help/371361K-01/lvconcepts/fileio_datalog_files/

Shalini M.
Partner Development Engineer
Alliance Partner Network
National Instruments
0 Kudos
Message 2 of 3
(2,600 Views)

Thanks for pointing out...

Yep, still keep my heart up for NI to offer modifying existing datalog files in the future..

0 Kudos
Message 3 of 3
(2,583 Views)