Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Message Queue VIs (Actor Framework)

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Actor Framework VIs

Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Message Queue VIs to launch and communicate with the top-level actor in your application.

Palette ObjectDescription
Message Dequeuer:Dequeue [Public](Filename: Actor Framework.lvlib:Message Dequeuer.lvclass:Dequeue.vi)

Reads a message that a top-level actor sent to its caller. Use this VI to interact with non-actor code, not in a VI that belongs to an actor.
Message Dequeuer:Equals Not A Refnum [Public](Filename: Actor Framework.lvlib:Message Dequeuer.lvclass:Equals Not A Refnum.vi)

Checks whether a message dequeuer reference is equal to Not a Refnum. Unlike the Not a Number/Path/Refnum? function, this function does not check whether a non-zero reference still is valid. Refer to the detailed help for more information.
Message Enqueuer:Enqueue [Public](Filename: Actor Framework.lvlib:Message Enqueuer.lvclass:Enqueue.vi)

Sends a message.

In most cases, instead of using this method, National Instruments recommends using the Actor Framework Message Maker dialog box. This dialog box helps you create the code that defines and sends the message. Use the Enqueue VI only if the VI that creates the message is not the one that sends it.
Message Enqueuer:Equals Not A Refnum [Public](Filename: Actor Framework.lvlib:Message Enqueuer.lvclass:Equals Not A Refnum.vi)

Checks whether a message enqueuer reference is equal to Not a Refnum. Unlike the Not a Number/Path/Refnum? function, this function does not check whether a non-zero reference still is valid. Refer to the detailed help for more information.
Message Queue:Obtain Message Queue [Public](Filename: Actor Framework.lvlib:Message Queue.lvclass:Obtain Message Queue.vi)

Obtains the reference to the message queue that the caller uses to communicate with the top-level actor.
Message Queue:Read Dequeuer [Public](Filename: Actor Framework.lvlib:Message Queue.lvclass:Read Dequeuer.vi)

Extracts the reference needed to read messages from the top-level actor.

Use the Obtain Message Queue method to obtain the Message Queue input.
Message Queue:Read Enqueuer [Public](Filename: Actor Framework.lvlib:Message Queue.lvclass:Read Enqueuer.vi)

Extracts the reference needed to send messages to the top-level actor.

Use the Obtain Message Queue method to obtain the Message Queue input.
Message Queue:Release Message Queue [Public](Filename: Actor Framework.lvlib:Message Queue.lvclass:Release Message Queue.vi)

Releases the reference to a message queue.

Use the Obtain Message Queue method to obtain the Message Queue input.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit