DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I extract TDMS file properties in VBScript?

Solved!
Go to solution

We're trying to carry over some variables from our Labview capture program into our DIAdem review tool - the length of the videos we're capturing and the overlap between them.

 

We've saved them as properties attached to the TDMS file, but I can't figure out how to access them in a script. Any advice?

0 Kudos
Message 1 of 3
(4,350 Views)
Solution
Accepted by PGribble

Hi PGribble,

 

Did you save the properties to the File level, the Group level, or the Channel level?  If you saved the properties to the File level, have you loaded just one file into the DIAdem Data Portal, or have you loaded multiple files into the Data Portal?

 

If you can see the property you want in the property table of the Data Portal, you can simply drag that property name into your VBScript in the DIAdem SCRIPT panel-- DIAdem will insert the code to read that property.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

Message 2 of 3
(4,332 Views)

Hi Brad,

 

The properties were saved to the File level.

 

The drag and drop worked a treat!

 

Thanks for the help

0 Kudos
Message 3 of 3
(4,323 Views)