OutputMessage.Post

Syntax

OutputMessage.Post

Purpose

Appends a reference to the OutputMessage into an OutputMessages collection that TestStand maintains. Periodically, TestStand checks to see if this collection is not empty. If the collection is not empty, TestStand attaches the entire collection to the ActiveXData member of a user interface message posted with the UIMsg_OutputMessages event code.

Remarks

TestStand adds the message to the output messages collection and sends UIMsg_OutputMessages messages only if you enable the Engine.OutputMessagesEnabled property. In TestStand 4.0 and 4.0.1, this method appended a copy of the OutputMessage, and the caller of this method could not access this copy directly. In TestStand 4.1 or later, this method adds a reference to the message.

See Also

Engine.OutputMessagesEnabled

Output Messages (Example)

OutputMessage.AsPropertyObject

OutputMessages

UIMessageCodes