LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stop running daqmx vi

stop1.pngi want to stop this loop ruuning in true condition. it enter true condtion means its waiting for 10secs i wants to stop immediatly.

thanks in advance.....

 

0 Kudos
Message 1 of 8
(3,280 Views)
Why are you using a local variable instead of a straight forward button to stop the loop? Running two simultaneous loop?
0 Kudos
Message 2 of 8
(3,277 Views)

First of all, too much variables!

 

The content of the TRUE case waits 10 seconds if no data is available to read, because of the timeout specified by on the DAQmx Read.vi.

So what you can do is to reduce the timeout.

 

 

Christian

Message 3 of 8
(3,275 Views)

when ever i stop the application running on another loop no data to read for daqmx so waiting for 10sec(it required for minimize the data calculating error) what can i do

 

thanks

0 Kudos
Message 4 of 8
(3,270 Views)
EDIT: I was too slow!
Message Edited by Adnan Z on 05-19-2010 12:50 PM
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
Message 5 of 8
(3,267 Views)

Actually what i am doing is reading the counter value to calculate the CPM of Running Machine i required minimum 10 samples so that only i can get correct CPM during machine running it takes maximum 7secs. Now problem is when ever machine stopped means it will waiting for 10secs in Daqmx so application can’t able to close for 10secs

 

Thanks

Devaseelan

0 Kudos
Message 6 of 8
(3,263 Views)
Message 7 of 8
(3,258 Views)
Did you try event structures?
0 Kudos
Message 8 of 8
(3,224 Views)