Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Folders to segregate TDMS files

Dear all,

 

I would like to create a new folder every 24 hours on a crio 9014 to log that days TDMS files to, the TDMS files are created every hour which works OK.

 

In the following NI article : http://digital.ni.com/public.nsf/allkb/BBCAD1AB08F1B6BB8625741F0082C2AF it states that "Note: The folder that you specify to write to has to exist on the target drive before you write to it or your VI will not work correctly."

 

So has anyone got an easy way of creating a new folder on a CRio vxworks?  I can FTP into the CRio and create a folder no problem.  Entering a structure in the TDMS path that does not yet exist does not work i.e. you cannot log to c:\STaR_Date\ unless it already exists.  I find this all a bit odd, I'm sure there is an easy answer somewhere?

 

Thanks

 

Gareth

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

Found it!

 

You can use "Create Folder" from the "Advanced file functions" palette and wire the path output to the input path of TDMS open function.

 

Gareth

0 Kudos
Message 2 of 2
(5,331 Views)