01-11-2006 01:40 AM
01-11-2006 01:57 AM
Hiiii,
I dont think that such kind of buttons are available, so the button we can work is to stop the running vi.
Thanks,
Nishant
01-11-2006 02:12 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
01-17-2006 05:38 AM
Another variation on the previous solution would be to replace the event structure with a 'dummy' loop. Hitting the 'start' button the the front panel would cause this dummy loop to stop, which will then allow your main loop to run due to data dependancy (ensure that you have a wire running from 'dummy' loop output tunnel and into the main loop). I would also recommend placing some timing function inside the dummy loop so that it doesn't hog the CPU too much.
The method of using the Event structure is far better as no polling is carried out with Event driven programming, but the Event structure isn't available in the Base version of LabVIEW, so this is a possible workaround if you're in this situation.