DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS Chanel Display Format Numeric Time

Solved!
Go to solution

Hello,

 

is it possible to change the display format attribut from numeric to time per chanel in LV Code?

Best regards

Alex

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

Hi Alex,

 

Could you please show some pictures with example of what formats do you exactly talk about?

Best Regards,
TK
Certified LabVIEW Architect (CLA)

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

Hi TK,

 

in the picture normal it is numeric and i want to change it to time in LV Code

 

Best regards

Alex

0 Kudos
Message 3 of 5
(2,744 Views)

You can use the TDMS Set Properties VI to set any property of a file, group, or channel. But I haven't tried it with thiat property from within LV yet. Doing so in VBS in Diadem works as intended.

 

Mateusz

0 Kudos
Message 4 of 5
(2,705 Views)
Solution
Accepted by topic author KTM_Lex

Hi Guys,

 

The channel property you want to set in LabVIEW is called "displaytype".  Note that you will need to change the numeric offset (add a constant of 60084288000) if your numeric values are typical "since 1904" LabVIEW datetime DBLs.  The "displaytype" channel property set to "Time" will tell DIAdem to display the values as datetimes, but DIAdem will assume its own "since 0 AD" offset.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

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