NI-DAQmx Tab-Delimited Text

NI IMAQ Measurement and Automation Explorer

NI-DAQmx Tab-Delimited Text

NI-DAQmx tab-delimited text files can contain tasks, channels, and scales, but not device configuration. To import/export device configurations, use .nce files. Use NI-DAQmx tab-delimited text files if you want to import and export configurations using a text format also suitable for editing as a spreadsheet.

NI-DAQmx tab-delimited text files consist of a table for each object type, with each column in a table separated by a tab. The first table must include the major and minor version numbers for the version of NI-DAQmx you want to export from or import to.

The first row of a table describes the structure of the table. The first column in that row specifies the type of object in the table. The possible object types are DAQmxTasks, DAQmxChannels, and DAQmxScales. Each subsequent column specifies the name of the property to set in the following rows. You can use any combination of English LabVIEW long and short property names, CVI property names, and C++/.NET class.property names.

The remaining rows specify property settings for the objects. The name of the object must be in the same column as the object type. If a property is not needed for an object, leave the column blank. You can include multiple objects of the same type in a single table or divide the objects among multiple tables.

To indicate that a channel is a local channel, include the task name and a forward slash before the channel name, both in the entry for the channel and in the Channels property for the task. The task name is required because two tasks can have a local channel with the same name.

For more examples of specific configurations, create tasks, channels, and custom scales in the DAQ Assistant, then export the configuration to an NI-DAQmx tab-delimited text file.