BreakOnRunTimeError Event

TestStand 2017 Help

Edition Date: November 2017

Part Number: 370052W-01

»View Product Info

Download Help (Windows Only)
NI TestStand 2014 Help
NI TestStand 2014 SP1 Help
TestStand 2016 Help
TestStand 2016 SP1 Help
TestStand 2017 Help

Syntax

ControlName_BreakOnRunTimeError ( exec, initiatingThread, showDialog, breakExecution)

Applies To

ApplicationMgr

Purpose

Occurs when TestStand sends the UIMsg_BreakOnRunTimeErrorMessage message.

Remarks

Use this event to launch a custom run-time error dialog box or to specify whether the Application Manager control launches a Run-Time Error dialog box or suspends the execution. You can change the Execution.RTEOptionForThisExecution property for the execution in this event before the Application Manager control handles it.

Parameters

exec As Execution

[In] Specifies the execution to which the event applies.

initiatingThread As Thread

[In] Specifies the thread that sent the run-time error notification.

showDialog As Boolean

[In/Out] The Application Manager control launches a Run-Time Error dialog box when the Execution.RTEOptionForThisExecution property is set to RTEOption_ShowDialog. Set this parameter to False when you do not want the Application Manager control to launch the Run-Time Error dialog box. Do not set this parameter to False to replace the default run-time error dialog box. Instead, handle the ApplicationMgr.DisplayCustomRunTimeErrorDialog event.

By default, this parameter is True.

breakExecution As Boolean

[In/Out] Set this parameter to True to pause the current execution.

By default, this parameter is False.


See Also

Execution.RTEOptionForThisExecution

Run-Time Error dialog box

StationOptions.RTEOption

UIMsg_BreakOnRunTimeError

WAS THIS ARTICLE HELPFUL?

Not Helpful