LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

possible to log data this way?

Hello, i was wondering if its possible to have data logged onto a file in the following manner. Essentially, whenever someone starts the program, it'll log data into a NEW file everytime they push start. To make sure the file doesn't overwrite itself, I'll use LV's time stamp feature as a string to append itself onto the name of the file. In the end, everytime someone starts the program, it'll have the name of the file followed by the time stamp which will be saved to some directory.

 

 

thank you.

0 Kudos
Message 1 of 4
(2,352 Views)

Something like this

Tim
GHSP
Message 2 of 4
(2,347 Views)

that helps alot, thank you!

0 Kudos
Message 3 of 4
(2,334 Views)

@BurningH34t wrote:

Hello, i was wondering if its possible to have data logged onto a file in the following manner. Essentially, whenever someone starts the program, it'll log data into a NEW file everytime they push start. To make sure the file doesn't overwrite itself, I'll use LV's time stamp feature as a string to append itself onto the name of the file. In the end, everytime someone starts the program, it'll have the name of the file followed by the time stamp which will be saved to some directory.

 

 

thank you.


Hello,

 

Here is a simple VI which produces new files in a readable timestamped format which will always save files within the same directory as the VI itself.

This VI saves to a spreadsheet as an example but it could be easily replaced with more file I/O.


Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

0 Kudos
Message 4 of 4
(2,290 Views)