Jump to content

Messenger Library: Difference between revisions

From LabVIEW Wiki
No edit summary
Added YouTube Instructional Videos
Line 12: Line 12:
* [[Messenger_Library_Messages|Messages]]
* [[Messenger_Library_Messages|Messages]]
* [[Messenger Library Messaging Patterns|Messaging Patterns]]
* [[Messenger Library Messaging Patterns|Messaging Patterns]]
'''Youtube Instructional Videos on an example project'''
* [https://youtu.be/boRwtOlfOk4 Messenger Library: Quick Introduction] ([https://youtu.be/d0PX-k4-aXQ and Added Comments])
* [https://youtu.be/2jMujwVonS8 Actor to Actor Communication]
* [https://youtu.be/i774UXu6RAg The Controller-Model-View principle]
* [https://youtu.be/CbtHLQeftK8 Recurring Event Methods]
* [https://youtu.be/TCzFg6DBqZc DEV Template Event and Message Handling]
* [https://youtu.be/P1NXUYIldkE Asynchronous Dialogs]
* [https://youtu.be/TIFY2KgXlzA Notification “Hookup” of a dynamic actor (and generic messages)]
* [https://youtu.be/rKANBR1d65g Messenger Library and TCP]


For support please see [https://lavag.org/topic/16360-lvtn-messenger-library/ CR Messenger Library] and [https://bitbucket.org/drjdpowell/messenging/issues?status=new&status=open Bitbucket Issue Tracker].
For support please see [https://lavag.org/topic/16360-lvtn-messenger-library/ CR Messenger Library] and [https://bitbucket.org/drjdpowell/messenging/issues?status=new&status=open Bitbucket Issue Tracker].

Revision as of 16:13, 20 February 2019

Messenger Library, a package on the LabVIEW Tools Network, is an extensive library for passing messages between parallel processes. Simplifies communication, by allowing the message sender to use any method provided by the receiver. Supported communication methods include simple queues, user events, and notifiers, as well a more complex channels such as a TCP server and client. In addition, one can configure simple forwarding addresses (“Observers"), which can send messages to multiple destinations, optionally with modifications such as adding a prefix to the message label, relabelling, or substituting a different message.

Messaging patterns supported include request-reply (asynchronous or synchronous), where the reply is sent to a "reply address" attached to the request, and register-notify, where one process sends a registration message to another in order to subscribe to a series of updates. Also supports scatter-gather, the gathering of replies from multiple senders into an array of messages.

An option framework for dynamically-launched VI "actors" is also provided, including example templates, which can be accessed via the Tools menu (from an open Project, select Tools>>Messenger Library>>Create Actor from Template..). An "Actor Manager" debug tool is also installed under the Tools menu.

Please note that this package has nothing directly to do with the NI Actor Framework (other than both packages are influenced by the Actor Model).

Info

Youtube Instructional Videos on an example project

For support please see CR Messenger Library and Bitbucket Issue Tracker.

Compatible LabVIEW Versions: >= 2013.

This Package depends on this other package: JDP Science Common Utilities, Cyclic Table Probes, JKI Statemachine, OpenG Zip Tools