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
(130 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
Semiconductor Validation & Production Test
Soliton Technologies
NI CLD, CTD
LabVIEW + TestStand + TestStand Semiconductor Module (2013 - 2020)
NI STS for Mixed signal and RF
0 Kudos
Message 2 of 2
(126 Views)