Section 6: Clarius
Model 4200A-SCS Parameter Analyzer Reference Manual
6-326
4200A-901-01 Rev. C / February 2017
Returned values are placed in the Analyze sheet and can be:
•
1
: The OK button was selected.
•
2
: The Cancel button was selected.
•
-10050 (WINULIB_ILLEGAL_NUM_MSG)
: An illegal number of messages was specified.
•
-10051 (WINULIB_ILLEGAL_STRING_LEN)
: The length of one or more messages was too
long.
•
-10052 (WINULIB_NO_WINDOW_HANDLE)
: No window handle for Clarius was found. Clarius is
not running.
Example
status = OkCancelDialog(1, "This is a one line message", "", "", "");
status = OkCancelDialog(4, "Line one", "Line two", "Line three", "Line four");
Also see
None
OkDialog user module
This user module creates a dialog box that pauses the test sequence to make an announcement (for example,
"Test finished") or prompt for an action (for example, connection change).
Usage
status
= OkDialog(int
NumberOfMessages
, char *
Message1Text
, char *
Message2Text
,
char *
Message3Text
, char *
Message4Text
);
status
Returned values; see
Details
NumberOfMessages
The number of text lines to display
Message1Text
The text to display on the first line of the dialog box; this line must be less than
40 characters.
Message2Text
The text to display on the second line of the dialog box; this line must be less than
40 characters.
Message3Text
The text to display on the third line of the dialog box; this line must be less than
40 characters
Message4Text
The text to display on the fourth line of the dialog box; this line must be less than 40
characters