LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with TDMS Logging

Solved!
Go to solution

Hello. Im running a sensor simulatuion code with a random number generator. The VI is running on my laptop. Im using LabVIEW 2013. I want to log the data and store it on my PC (anywhere will do). Im trying to write it as a TDMS file but I keep receiving an error -2501 on TDMS close. Could somebody please help me out.

Thanks 🙂

VI Attached below

0 Kudos
Message 1 of 3
(2,611 Views)
Solution
Accepted by topic author deepen_solanki

You are trying to close the same tdms file two times, why are you doing that?

Try to serialize your write to the tdms so that you do not write in parallel in this simple program.

0 Kudos
Message 2 of 3
(2,597 Views)

Actually, your part about closing the same file twice was very helpful ! Thanks a lot, i figured it out 🙂

0 Kudos
Message 3 of 3
(2,580 Views)