LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add new data to existing data in excel file?

Solved!
Go to solution

Hi, 

 

I would like to save the data (Name, Age, BPM) which are manually keyed in during each run to excel. My data gets saved after the first run, however it would all get erased and only new data remains in the subsequent run. Please tell me what to do, I have attached my VI inside. 

0 Kudos
Message 1 of 5
(1,509 Views)
Solution
Accepted by topic author whyywhyy

You really write simple text (csv) file, not excel. when you write header, "append to file" terminal unused and system creates new file. You can check file for existing. If file exists, you can append date, another case create file and header before

file.png

0 Kudos
Message 2 of 5
(1,480 Views)

 

Never mind, the post above answers it.


CLA CTAChampion
Subscribe to our Test Automation user group: UK Test Automation Group
0 Kudos
Message 3 of 5
(1,479 Views)

I'd use Check if File or Folder exist instead of Get File Info.

/Y

G# - Award winning reference based OOP for LV, for free! ADDQ VIPM Now on GitHub
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
Certified-LabVIEW-Developer
Message 4 of 5
(1,473 Views)

Thanks a lot! (: It works! Exported to text file instead of excel

0 Kudos
Message 5 of 5
(1,434 Views)