LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger creation of new TDMS file

Solved!
Go to solution

Hello,

 

Please , I need to trigger the writing and the creation of new measurement file using a button. So if I press the button I start writing to the file and when I release it the file should be closed. And after, if I press the saving button again it starts saving to a new files.. and so on ...

 

Please any ideas ?  I ll be very grateful 🙂

Thank you in advance,

 

Tanieta.

0 Kudos
Message 1 of 12
(3,933 Views)
0 Kudos
Message 2 of 12
(3,904 Views)

HI @Artem.SPb,

THank you for your reply.

I've tried with Create File with Incrementing Suffix VI,  but i seems that is creating a new files on every loop iteration.  and I couldn't get rid of this problem.

Any hints ? 

 

THankyou 

0 Kudos
Message 3 of 12
(3,896 Views)
Solution
Accepted by Tanieta

newfile.png

0 Kudos
Message 4 of 12
(3,894 Views)

Hi Artem.SPb ,

 

Thank you very much for your quick reply 🙂

 

I just want to know the Vi, connected to the boolean variable. 

 

Many many thanks,

 

Tanieta

 

0 Kudos
Message 5 of 12
(3,886 Views)

Hi Artem.SPb ,

 

Many thanks again, the script works very good regarding the triggering. 

 

However when opening the files I get the error:

 

***************** New logfile section *******************
TDMS: ERROR: TDS Exception in Initialize: Tds Error: TdsErrNotTdsFile(-2503):

 

I've checked similar problem in the forum, but didn't find a concrete solution 😕

 

Any help ?

 

Nice day 🙂 

0 Kudos
Message 7 of 12
(3,867 Views)

show your code

0 Kudos
Message 8 of 12
(3,863 Views)

Here it is 

0 Kudos
Message 9 of 12
(3,860 Views)
Solution
Accepted by Tanieta
0 Kudos
Message 10 of 12
(3,855 Views)