ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(3,238 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
(3,230 Views)
ok here we go:
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 3 of 7
(3,229 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
(3,224 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
(3,220 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
(3,214 Views)

Dennis,

 

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

 

Thanks.

 

Firdaus

0 Kudos
Message 7 of 7
(3,210 Views)