From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a TDMS file that is compatible with DIAdem properties

Solved!
Go to solution

Hi all

 

What I am trying to do is create a TDMS file that has the ‘Unit’ TDMS property already populated. The issue is that my code creates a custom property rather than setting the "default" unit feild:

 

TDMS Properties.jpg

 

Below is a code snippet of what I am currently doing:

 

Code snippet.jpg

 

 

If anyone can spot what i am doing wrong or know how to set the 'default' proprties i would be very greatful.

 

Cheers

Dave B

 

0 Kudos
Message 1 of 3
(2,933 Views)
Solution
Accepted by topic author D.Barr

Hi D.,

 

try the attributes as are used for waveforms!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,916 Views)

Cheers GerdW waveform did indeed help.

 

Also if you right link on the property in DIAdem and use the help you can find the property name. For example setting the a waveform x axis unit property is called wf_xunit_string.

 

Thanks for the helps

 

Dave B

 

0 Kudos
Message 3 of 3
(2,890 Views)