05-09-2013 08:52 AM - edited 05-09-2013 09:06 AM
@SEGIO wrote:
The problem is that I don't know how to close TDMS file completely, because I want to replace this TDMS file by the TDMS file generated in next acquisition.
ok, you still did not answer the questions completely ( about cycling,terminate, user interface?)...this vi will (step by step):
by the way,it is always a good practice to type def your case statement enums incase you have to add more statement commands...
05-09-2013 09:35 AM
I don't know why you put an other state (acquisition 2). I've implemented your program and I can't see that last file is replaced. It's like acquisition has finished and it doesn't go on.
Otherwise, why I can not do that like this (open file and close file in case structures, in acquisition state), and leaving only 2 states (acquisition and wait)?
Thank you for your help
05-09-2013 09:50 AM - edited 05-09-2013 09:56 AM
@SEGIO wrote:
I don't know why you put an other state (acquisition 2). I've implemented your program and I can't see that last file is replaced. It's like acquisition has finished and it doesn't go on.
Otherwise, why I can not do that like this (open file and close file in case structures, in acquisition state), and leaving only 2 states (acquisition and wait)?
Thank you for your help
if you write a step by step explanation of sequences of what exactly you want done here...we can better understand your intentions
05-09-2013 10:04 AM
Ok...I understand, thanks. But I've implemented your program and it doesn't work as I would like to, because the file created is not replaced. Have you run it?
05-09-2013 10:15 AM
ok...is this what you want?
05-09-2013 10:18 AM
Yes, I'm sorry. And know I've seen that in case acquisition 2 there isn't close file, maybe it's the reason of it's not working.
Sorry and thanks
05-09-2013 10:46 AM
Have a look at the .llb that I've upload, it's yours but changing acq2 and adding a signal generated. The problem as you can see is that the second acq is not done, I can only see the first tdms file generated.
Thanks 😉
05-09-2013 10:54 AM
i see what you are doing...i am trying to understand you here
is what you are doing is what i had mentioned in the previous post?...replace the file at every acquisition, then wait?
05-09-2013 10:59 AM
I want to make an acquisition of 2 minutes. Then stop 5 minutes (at this time I want to send the file generated previously using FTP). After this 5 minutes, start an other acquisition of 2 minutes replacing the file that was created in the first acquisition (because I've sent this file from to RT to PC, so I don't mind if it's replaced). And I want to do that infine times until I put stop 😉
05-09-2013 01:11 PM - edited 05-09-2013 01:22 PM