DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How to search a root folder for latest test folder

Hello,

 

I am building a script dialog box that allows the user to select concatenated channels to preview before loading the entire data set.

Ultimately I would like the previewed channels to come from the most recent test.

 

I found the "List Folder" option in labview that lists the names of the folders in the current root directory, but would then have to pass the string array to diadem. Is there a similar "List Folder" command in diadem, in which I can get the folder names, particularily the most recent folder name?

 

 

I apologize if an answer to this has already been posted...

 

 

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

Hi BG103,

 

The link below is to the Diadem Help document about the Folder object:

 

http://zone.ni.com/reference/en-XX/help/370859J-01/scripting/objects/scripting_objects_ifolder/

 

One of the properties you can access with this object is the SubFolders contained in that folder. I believe this may be what you are looking for!

 

http://zone.ni.com/reference/en-XX/help/370859J-01/scripting/properties/scripting_property_subfolder...

 

 

Julia P.
0 Kudos
Message 2 of 2
(4,118 Views)