DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Use TDMS attributes in DIAdem VBscript

Solved!
Go to solution

Greetings,

I've written data set properties as TDMS attribtutes and now wish to call said attributes as variables in DIAdem VBscript.  I've seached the help yet can't figure out the proper syntax to call a TDMS attribute.

 

 

Thanks!

0 Kudos
Message 1 of 3
(4,277 Views)
Solution
Accepted by topic author Electromecha

Hello Space_Fligh,

 

This should hopefully help:

 

 

I created a property called "Test" on the root level (file property), and the value of the property can be accessed through this variable: Data.Root.Properties("Test").Value

 

I also created a property called "Test" on the channel level for a channel called "Temp", and the value can be accessed through this variable: Data.GetChannel("[1]/Temp").Properties("Test").Value

 

Does that help with your question?

Otmar D. Foehner
0 Kudos
Message 2 of 3
(4,260 Views)

Precisely what I needed.  Thanks a bunch!

 

Regards,

Steve

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