ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing waveform to TDMS File

Solved!
Go to solution

Hello, 

I'm trying to write acquired data to TDMS file.

Code as below works very well: Data from random source is written to TDMS file 

Tomasz_Poland_0-1701724885397.png

 

When I try to use Waveform as input for TDMS Write.vi - there is nor error and no result for TDMS file:

Tomasz_Poland_1-1701726109398.png

What is the reason if no adding data to TDMS file?

Thank You for tips

 

Download All
0 Kudos
Message 1 of 2
(1,867 Views)
Solution
Accepted by Tom_wolf

In a waveform, "dt" is just the time between points.  You need to actually add some data to the waveform in the Y array:

 

Kyle97330_0-1701730343391.png

 

Message 2 of 2
(1,851 Views)