07-03-2013 09:57 PM - edited 07-03-2013 10:12 PM
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.
07-03-2013 10:41 PM
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
07-04-2013 09:18 AM
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