LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Overwritting x_value column in .lvm file

Hi

 

The x_value column in my spread sheet is not what I need it to be. Is there a VI i can use that replaces the X_value column with 0, 1, 2, 3.... down to the end of the file?

 

Thanks

 

0 Kudos
Message 1 of 3
(2,387 Views)

Hi scottcols...,

you have to read the entire file, change the column and write the new file. If you know the byte position, then you can overwrite it without reading the entire file, but i think it's not very fast.

Do you have to create a new file in the future, or do you only have to change existing files? Maybe it's easier to write the file directly as you need it.

 

Mike

Message 2 of 3
(2,374 Views)

Thanks for the reply. Im not too sure how to do this.

 

Ive attached an example of the files I have. I want the X_Values= column to read 1, 2, 3, ...n down the rows. 

 

Can anyone made a simple VI that can do this?

 

Thanks

 

Scott

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