Messenger Library: Difference between revisions
Drjdpowell (talk | contribs) Create page for Messenger Library |
m Move to Category:Messaging frameworks |
||
(12 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
'''Messenger Library''', [http://sine.ni.com/nips/cds/view/p/lang/en/nid/213091 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. | '''Messenger Library''', [http://sine.ni.com/nips/cds/view/p/lang/en/nid/213091 a free 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. | 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. | ||
Line 9: | Line 9: | ||
'''Info''' | '''Info''' | ||
* [[Messenger_Library_Addresses|Addresses]] | |||
* [[Messenger_Library_Messages|Messages]] | |||
* [[Messenger Library Messaging Patterns|Messaging Patterns]] | |||
'''Youtube Instructional Videos on an example project''' | |||
For support please see [https://lavag.org/topic/16360-lvtn-messenger-library/ CR Messenger Library] and [https://bitbucket.org/drjdpowell/ | * [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/TPvM6u-IaeE Register Notify] | |||
* [https://youtu.be/TIFY2KgXlzA Notification “Hookup” of a dynamic actor (and generic messages)] | |||
* [https://youtu.be/rKANBR1d65g Messenger Library and TCP] | |||
[https://youtube.com/playlist?list=PL5AulxutFbdjFzxb-Lr6HItKR_2sG2aFA Full Playlist on YouTube] | |||
A [https://lavag.org/topic/16360-lvtn-messenger-library/?do=findComment&comment=127088 great summary of many Messenger Library sources], provided by Bob W Edwards. | |||
For support please see [https://lavag.org/topic/16360-lvtn-messenger-library/ CR Messenger Library], [https://forums.ni.com/t5/JDP-Science-Tools/bd-p/5397 JDP Science Tools] and [https://bitbucket.org/drjdpowell/messenger-library/issues?status=new&status=open Bitbucket Issue Tracker]. | |||
Compatible LabVIEW Versions: >= 2013. | Compatible LabVIEW Versions: >= 2013. | ||
This Package depends on this other package: JDP Science Common Utilities, Cyclic Table Probes | This Package depends on this other package: JDP Science Common Utilities, Cyclic Table Probes, OpenG Zip Tools | ||
[[Category: | [[Category:Messaging frameworks]] | ||
Latest revision as of 13:16, 1 September 2024
Messenger Library, a free 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
- Messenger Library: Quick Introduction (and Added Comments)
- Actor to Actor Communication
- The Controller-Model-View principle
- Recurring Event Methods
- DEV Template Event and Message Handling
- Asynchronous Dialogs
- Register Notify
- Notification “Hookup” of a dynamic actor (and generic messages)
- Messenger Library and TCP
A great summary of many Messenger Library sources, provided by Bob W Edwards.
For support please see CR Messenger Library, JDP Science Tools and Bitbucket Issue Tracker.
Compatible LabVIEW Versions: >= 2013.
This Package depends on this other package: JDP Science Common Utilities, Cyclic Table Probes, OpenG Zip Tools