UIMessagePollingEnabled Property

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

Engine.UIMessagePollingEnabled

Data Type

Boolean

Purpose

Specifies if user interface message polling is enabled.

Remarks

Default value is False.

Set this property to True when writing a user interface which uses polling rather than events to obtain UIMessages from TestStand.

To poll, call the Engine.IsUIMessageQueueEmpty property. If IsUIMessageQueueEmpty returns False, call the Engine.GetUIMessage method to retrieve the next UIMessage. If your development environment requires you to explicitly release COM references, release the COM reference to the previous user interface message before obtaining the next one.

Note  Do not set this property to True if you created the TestStand Engine as an ActiveX control or if you are using the TestStand User Interface (UI) Controls.


See Also

Engine.GetUIMessage

Engine.IsUIMessageQueueEmpty

Engine.RegisterUIMessageCallbackEx

Engine.UIMessageEvent

Setting Up a User Interface Message Handler

StationOptions.UIMessageDelay

StationOptions.UIMessageMinDelay

UIMessage

WAS THIS ARTICLE HELPFUL?

Not Helpful