Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

writing samples to TDMS from NI9234 (FPGA)

Solved!
Go to solution

Hi, I'm trying to set up measuring setup, with highest possible data rate. I'm new to labview, so I use "NI 923x Continuous DMA" from examples with TDMS Write. WaveForm Graph looks fine, but TDMS file has data only in first ~900 rows (and then overwrite prewious samples).

 

I use LabView 2018, cRIO 9024 with 9114 chassis and NI 9234.

I also plan to use 9234 parallel with 9237.

0 Kudos
Message 1 of 2
(1,085 Views)
Solution
Accepted by topic author wiktor_hoffmann

The wire exiting the while loop to the TDMS Write is in Last Value mode.

If you want to stream data to disk, you should use two parallel loops and pass data from FPGA DMA Read Loop to TDMS Logging loop using Producer/Consumer architecture.

You can also consider using NI CompactRIO Waveform Reference Library

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
Message 2 of 2
(1,065 Views)