Section 6: Clarius
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
NumberOfMessages
Message1Text
Message2Text
Message3Text
Message4Text
6-326
Returned values; see Details
The number of text lines to display
The text to display on the first line of the dialog box; this line must be less than
40 characters.
The text to display on the second line of the dialog box; this line must be less than
40 characters.
The text to display on the third line of the dialog box; this line must be less than
40 characters
The text to display on the fourth line of the dialog box; this line must be less than 40
characters
Model 4200A-SCS Parameter Analyzer Reference Manual
4200A-901-01 Rev. C / February 2017