Message Queue VIs (Actor Framework)

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

Owning Palette: Advanced VIs (Actor Framework)

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(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(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(Filename: Actor Framework.lvlib:Message Enqueuer.lvclass:Enqueue.vi)

Sends a message.
Message Enqueuer:Equals Not A Refnum(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(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(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(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(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.

WAS THIS ARTICLE HELPFUL?

Not Helpful