Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

PostUIMessage Method

NI TestStand™ 4.0 Help
April 2007

NI Part Number:
370052F-01

»View NI TestStand Product Info

Syntax

Engine.PostUIMessage ( executionParam, threadParam, eventCode, numericDataParam, stringDataParam, activeXDataParam, synchronous)

Purpose

Posts a UIMessage to the current sequence editor or user interface.

Remarks

You can post the following messages from a step: UIMsg_ProgressPercent and UIMsg_ProgressText. These messages tell the user interface to display a progress indicator or text message for the execution.

Parameters

executionParam As Execution

[In] Specifies the execution to pass with the message.

threadParam As Thread

[In] Specifies the thread to pass with the message.

eventCode As UIMessageCodes

[In] Specifies the type of UIMessage.

numericDataParam As Double

[In] Specifies numeric data to pass with the message. When you post a UIMsg_ProgressPercent event, this parameter specifies the percent done.

stringDataParam As String

[In] Specifies string data to pass with the message. When you post a UIMsg_ProgressText event, this parameter specifies the text to display.

activeXDataParam As LPUNKNOWN

[In] Specifies an ActiveX reference to pass with the message.

synchronous As Boolean

[In] Pass True if you want the method to wait until the user interface process the message. Pass False if you want the method to return immediately.


See Also

Thread.PostUIMessageEx

UIMessageCodes


Resources


 

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