LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem Stopping the VI

Hi. 
After I ran my VI, I found that some of parameters/outputs only showing their values when I "Quit" the TDMS File.
Instead of that, I would like the VI to stop by it self without clicking any button but it doesn't. 

Anybody have any suggestion how to fix this problem?

Thanks. 
Regards,
Firdaus
p/s : Please refer attachment for the VI.
0 Kudos
Message 1 of 7
(2,900 Views)

ok

 

I hope this help it is a simple example of a while loop terminating after 15 iterations if you want to slow down the interations all you have to do is put a time function.

 

 

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 2 of 7
(2,892 Views)
ok here we go:
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 3 of 7
(2,891 Views)
Well, if you don't want the TDMS Viewer and it's dialog to close it, don't call it in your code.
0 Kudos
Message 4 of 7
(2,886 Views)

Harold Timmis,

 

Thanks for you sugesstion. But I think that the easiest way to AutoStop it. But it doesnt match or suitable for my VI.

 

 

Dennis,

 

Thanks for your idea. I think its gonna be worked with it.

 

Regards,

Firdaus

0 Kudos
Message 5 of 7
(2,882 Views)
And if you do want to use the TDMS viewer, put it in a separate loop so that main will not pause when it's open.
0 Kudos
Message 6 of 7
(2,876 Views)

Dennis,

 

I decided to not put the TDMS Viewer in the code.

 

Thanks.

 

Firdaus

0 Kudos
Message 7 of 7
(2,872 Views)