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
(3,104 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
(3,090 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
(3,073 Views)