Messagebox(), Sleep(), Messagebox() sleep() – Teledyne LeCroy BPT - References Manual User Manual

Page 45

Advertising
background image

41

CATC S

CRIPTING

L

ANGUAGE

1.1

C

HAPTER

11

Reference Manual

BPT Primitives

MessageBox()

MessageBox( Message, Caption )

Return value

None.

Comments

Bring up a simple message box function with one “OK” button. This is a good way
to pause execution of the script or indicate errors.

Example

MessageBox( "Failed to connect",

"Connection Failure" );

Sleep()

Sleep( TimeInMS )

Return value

None.

Comments

Delays program execution for a specified number of milliseconds.

Example

Sleep( 1000); # Sleep for one second

Parameter

Meaning

Default Value

Comments

Message

Text to display

in the mes-

sage box

Caption

Caption of the

message box

“Script Mes-

sage”

Parameter

Meaning

Default Value

Comments

TimeInMS

Time in milli-

seconds

Advertising