LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Delete entry in datalog file?

    I don't know if this is a possibility or not.  But I'd like to overwrite a record in a datalog file.  I'm reading out all records from the file, using a Replace Array Subset, and then writing all records back to the file.  Writing to the file always appends to the end, though.  Any way that I can write from a different location in the file, like the beginning?  Do I have to create a new file, because I'd rather not go through that hoop. 

What's the best way to handle this?

Thanks.
0 Kudos
Message 1 of 2
(3,093 Views)
    Never mind.  I think I may have found a clue in some other posts as to why random replacement of data in a datalog file is not feasible due to the varying nature of what is stored in the individual records of a datalog file.  I'm going to switch to a binary file format and then I'll be able to write to different offsets in the file.

Thanks.
Message 2 of 2
(3,089 Views)