LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Automated File path change during operation

Hello!

    At work we have a device that we are constantly monitoring and logging temperature of. 

Is there a simple way that I can have the path change automatically based on date?

Ideally it will log all day and once the date has changed, it will create a new folder can start then depositing all the data into that folder

Any thoughts or opinions are appreciated 

0 Kudos
Message 1 of 2
(611 Views)

Yes of course, if you have the source code for the application that is reading and logging the file. You would have to edit the source code of that application to change the path automatically based on the date.

 

If you do not have the source code of the application and the application does not have the means to change the paths externally, you can get away with creating a simple script that scans the logging directory for new files and moves it to a different path you would like.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 2
(607 Views)