LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

are references a good way of data transfer between parallel loops at different rates?

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

I may not be perfect, but I'm all I got!
0 Kudos
Message 1 of 14
(3,745 Views)

Functional global???

Message 2 of 14
(3,738 Views)

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

Message 3 of 14
(3,737 Views)

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

I may not be perfect, but I'm all I got!
0 Kudos
Message 4 of 14
(3,727 Views)

Correct and correct UNLESS you are talking about a DVR = Data Value Reference.

 

See here for my Nugget of Action Engines.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 14
(3,726 Views)

They are the same thing. Go to Google and type in "labview functional global" and the first hit should provide an explanation.

0 Kudos
Message 6 of 14
(3,719 Views)

@ 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!

I may not be perfect, but I'm all I got!
0 Kudos
Message 7 of 14
(3,710 Views)

Are there any examples out there that have action engines implemented? Theory only does so much to my understanding. 😞

I may not be perfect, but I'm all I got!
0 Kudos
Message 8 of 14
(3,708 Views)

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 9 of 14
(3,702 Views)

I attached the most basic example I could think of.

 

Example_VI_BD.png

0 Kudos
Message 10 of 14
(3,697 Views)