From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Best Non-OO alternative to Actor Framework Architecture

 Need to create LabVIEW application that consists of multiple, independent tasks that need to communicate with each other

 

Best Non-OO alternative to Actor Framework Architecture

 

Examples?  Samples?

0 Kudos
Message 1 of 4
(2,505 Views)

Hi battler,

 

you should know by now that asking for "best" is quite silly. You need to apply constraints to determine "best" option…

 

Use queues, notifiers, network functions, FGVs or even global variables to have your threads communication with each other!

Examples are found in the example finder… 😉

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,500 Views)

Queued Driven Message Handler, or (very similar) Queued Message Handler (QMH).

 

Also dig into communication libraries like AMC.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 3 of 4
(2,495 Views)

Great thanks Norbet.  AMC looks promising 🙂

0 Kudos
Message 4 of 4
(2,490 Views)