このコンテンツは設定された言語で表示できません。

このコンテンツは表示可能な別の言語で表示されています。 お使いのブラウザに翻訳機能がある場合はご利用ください。

Setting File, Group, and Channel Properties of a TDMS File in LabVIEW

Updated Oct 17, 2023

Reported In

Software

  • LabVIEW

Other

  • Microsoft® Excel

Issue Details

  • I would like to format the File, Group, and Channel TDMS properties of my TDMS file. How can I accomplish this?
  • I use the DAQmx Configure Logging (VI)  which allows me to add a Group Name in my file. How can I add other information such as Author and Description?

Solution

Most of the default TDMS file properties can be set using the TDMS Set Properties VI. Below are tables that contain the various properties that can by modified in your TDMS file and viewed using a TDMS file view such as Microsoft® Excel.



TDMS File Properties

Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.
 
Table 1: File Properties
 Property Property Name  Data Type
 Root Name None Set as the file name of the TDMS file
 Title  title  String
 Author author String
 Date/Time datetime Time Stamp
 Groups none Set by the # of groups you add to the TDMS file
 Description description String
 
 

Group Properties


Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.
 
 
Table 2: Group Properties
 Property Property Name Data Type
 Group none Group name is set when writing channels to file
 Channels none  Number of channels in group
 Description description String

 

Channel Properties


Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.
 
 
Table 3: Channel Properties
 Property Property Name Data Type
 Channel none Set when you write a channel to the file
 Length NI_ChannelLength Is not modifiable by user
 Datatype NI_DataType Is not modifiable by user
 Units unit_string String
 Minimum minimum Numeric
 Maximum maximum Numeric
 Description description String

 
 

Additional Information

To load and work with TDM and TDMS files in Microsoft® Excel, first download the TDM Excel Add-In for Microsoft Excel. Alternatively, TDMS files can be natively opened using DIAdem™.