Teledyne LeCroy SierraFC Verification Script Engine Reference Manual User Manual

Page 57

Advertising
background image

Verification Script Engine Reference Manual

52



Remark:

This function works only for VS Engines controlled via GUI. For VSEs controlled by

COM/Automation clients it does nothing.

This function "locks" the SierraFC Protocol Suite application which means that there is no access to
other application features until the dialog box is closed. In order to prevent too many InputBox calls in
case if a script written not correctly – VSE keeps track of all function calls demanding user interaction
and doesn't show dialog boxes in case if some customizable limit was exceeded ( returns null object in
that case ).
( See )


Example:

if( Something )
{

v = InputBox( "Enter the list", "Some stuff", "Hello world !!!, 0x12AAA, Some, 34" );

ReportText ( FormatEx( "input = %s, 0x%X, %s, %d", v[0],v[1],v[2],v[3] ) );

… # Go on…


str = InputBox( "Enter the string", "Some stuff", "<your string>", _IB_STRING );

ReportText( str );

}

Advertising