Example Code

LabVIEW: Writing a String Array to a TDM Channel Group Property

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

Coding that exemplifies how to write a string array to a TDM Channel or Channel Group Property.

 

Description

The following VI will write a string array to TDM Channel Group Properties. The channel property is set the value of the string array which is converted into a tab-delimited string by the Array to Spreadsheet String. The property is read using the Get Property subVI and converted back into a string using Spreadsheet String to Array. This VI is referenced in the Writing a String Array to a TDM Channel or Channel Group Property in LabVIEW KnowledgeBase.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code
1. Verify that the path of for the TDM file is valid on the Open Data Storage Express VI.
2. Run the VI.

 

Additional Information or References

Capture.PNG

Regards,

Sara Lewandroski
Applications Engineer | National Instruments

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.