05-28-2018 03:00 AM
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.
Solved! Go to Solution.
05-28-2018 05:22 AM
05-28-2018 06:51 AM
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
05-28-2018 07:18 AM
05-28-2018 09:28 AM
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
05-28-2018 01:48 PM
05-29-2018 02:19 AM
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 🙂
05-29-2018 02:43 AM
show your code
05-29-2018 02:51 AM
Here it is
05-29-2018 04:08 AM
use snippet for code examples https://forums.ni.com/t5/LabVIEW/Notice-Attach-VI-Snippets-to-post-rather-than-upload/td-p/3660471