To download NI software, including the products shown below, visit ni.com/downloads.
Overview
To create a TDMS file and then adds a new channel of sample data every time the VI is run.
Description:
This example consists of a VI that creates a TDMS file and then adds a new channel of sample data every time the VI is run. The second VI opens this TDMS file and appends each channel together, inserting NaN values into the waveform to represent gaps in the data in time.
With this example you can capture data in one VI; stopping and starting the VI at will. When you analyze the data, you can run the second VI to append each channel together and graph the data. Each data point is shown on the graph correct in absolute time.
Steps to implement or execute code
To implement this example:
To execute this example:
Requirements
Software
LabVIEW 2012 or compatible
Hardware
-
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.