LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing Front Panel Indicator Value in Consumer Loop of Event-Based Producer-Consumer

I'm using event-based producer-consumer.

 

I want to access various front panel indicator values and use them in different cases in my consumer loop.  When including their terminals inside the consumer loop and attaching them to the case structure, I'm getting some weird behavior (like an array indicator value being one iteration behind my clicks).  Is there a better way to do this?

 

Thank you.

0 Kudos
Message 1 of 3
(2,590 Views)

As a follow-up, it seems like using individual property nodes in the different cases of the case structure worked...just not sure if that's the best solution

0 Kudos
Message 2 of 3
(2,579 Views)

Generally the use of value proerty nodes is not a good way to get access to data.  It is a bit difficult to tell exactly what you have from your description.  Posting your VI or a simplified version which shows the situation would be helpful.

 

One method of handling data is to use a shift register. The wire passes through every case in the consumer loop and the indicator terminal is wired to the data after the case structure.  This avoids any delays and eliminates the possibility of race conditions.

 

Lynn

0 Kudos
Message 3 of 3
(2,548 Views)