LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS file isn't created during the run (saving acquired data)

Hello, I am quite new in Labview and need some help in saving acquired data to TDMS file format. So I have FPGA project and want to save data to TDMS file (you can see VI for saving attached). I created VI for saving by the way written in the NI tutorial for data logging https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x0UdCAI&l=en-US. 

But the TDMS file isn't created after the run. All VIs projects are running and there is no any error in VIs, so it seems everything is ok, besides there is no TDMS file. I tried different locations but It did not help. Could someone help me with this issue?

Download All
0 Kudos
Message 1 of 4
(3,621 Views)

First off, check that the file mode, the control connected to the TDMS Open VI is set to one of the create modes, create or replace, create, open or create and make sure that the file path is valid.

 

 

 

0 Kudos
Message 2 of 4
(3,609 Views)

First you should be using snippets or attaching code, not pictures.  You wouldn't take a screenshot of notepad to share text source.

 

On top of the fact that the operation should be a constant, so you know the right value is being used, you have the problem that /C/Users/UEEN343 doesn't exist on your Linux RT target.  You are writing this file on the local memory of the 9068 not your Windows PC.  Navigate the file structure of your device and select a place to log that exists, and you have permission to write to.

 

And lastly I highly doubt there is no error.  Trying to open a file that doesn't exist, or trying to save to a folder that doesn't exist will generate an error, and should stop your VI.

0 Kudos
Message 3 of 4
(3,595 Views)

NeilR, thank you for the response. The control mode is set to create and replace.

0 Kudos
Message 4 of 4
(3,592 Views)