06-12-2018
07:29 AM
- last edited on
09-20-2025
11:53 AM
by
Content Cleaner
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?
06-12-2018 08:01 AM
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.
06-12-2018 08:10 AM
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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-12-2018 08:13 AM
NeilR, thank you for the response. The control mode is set to create and replace.