LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Led not turn off and queue loop not end

 From attach file, I build the queue for analog read then I need to seperate control each temperature to display led (Daq assitant2,3). When I press button every loop should stop but now it's not to stop. Led is latching when the temperature is more than threshold and I press the button. Please help me. I need to clear led to normally and every loop working properly.

0 Kudos
Message 1 of 5
(2,935 Views)

@Chairat wrote:

 ... and I press the button. .


You have three buttons. Which one are you pressing? What are typical time targets?

0 Kudos
Message 2 of 5
(2,923 Views)

You should not have two loops dequeueing from the same queue.  Once on gets the data, the other loop cannot get that same data point.  Once an element is dequeued, it is gone.  You should have two queues, one for each consumer loop.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 5
(2,921 Views)

Could you give me some of example please, Crossrulz

0 Kudos
Message 4 of 5
(2,903 Views)

@Chairat wrote:

Could you give me some of example please, Crossrulz


An example of what?  What is so hard about using a second queue when you already know how to use one?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 5
(2,887 Views)