04-06-2011 12:05 PM
To transfer Numeric values back and forth between two parallel loops. I am currently using references. It works fine. What would be the best way considering different rates of while loops. Thanks!
V
04-06-2011 12:08 PM
Functional global???
04-06-2011 12:09 PM
I usually use queues or an Action Engine. Using references ties things to indicators and the UI thread which may produce a performance reduction.
Lynn
04-06-2011 12:20 PM
THanks for the quick response. A simple example of functional global and action engine would be helpful. Like really simple example to get the concept right. Any directions on that?
V
04-06-2011 12:21 PM - edited 04-06-2011 12:22 PM
Correct and correct UNLESS you are talking about a DVR = Data Value Reference.
See here for my Nugget of Action Engines.
Ben
04-06-2011 12:22 PM
They are the same thing. Go to Google and type in "labview functional global" and the first hit should provide an explanation.
04-06-2011 12:31 PM
@ Ben, I have tried understanding your nugget a few times. It kinda jumps in to the concept directly and I find it hard to correlate it to when I actually have to use it. But, I will give it another shot. Reading n times always helps.
THanks all!
04-06-2011 12:38 PM
Are there any examples out there that have action engines implemented? Theory only does so much to my understanding. 😞
04-06-2011 12:52 PM
There are examples included with that nugget.
It also looks like I added an Actin Engine to the Tetris Game (post 26?) in this thread.
Ben
04-06-2011 01:00 PM
I attached the most basic example I could think of.