UCD Console for UCD-340 User Manual | Unigraf Oy
72.
(...Continued)
TestID
Indicates which test to run. Please refer to chapter 6 for information about
tests and their ID values.
Passed
Reference (pointer) to a boolean variable that will be set to “true” if the test
was completed with pass status. If the test failed the variable will be set to
“false”.
Error
Reference (pointer) to a boolean variable that will be set to “false” if the
test completed successfully. If there were errors during the test execution,
this variable set set to “true”.
oReportMsg
Pointer to a character buffer of 1024 characters. The buffer will receive a
human readable error message in the event that “Error” was set to “true”.
oReportText
Pointer to a character buffer of 64000 characters. The buffer will receive
test log printout as human readable ASCII text data.
Result
The function will process the given configuration script. If the script contains errors, the error
flag will be set to “true”, and report message will contain message about the error in the
script. If the script was processed without errors, it will continue to run the test indicated by
the TestID and Passed, Error, oReportMsg and oReportText variables will be set according
to the outcome of the test.
TSI_TST_RunScript
ClientVersion 12, and higher No license requirements
void __cdecl TSI_TST_RunScript
(
char *Device,
char *iScript,
bool &Error,
char oErrorMsg[1024],
int *oIntTable,
int iMaxCount
)
Description
This function is used to run scripts on a device without running any tests. In addition to test
configuration scripts, the scripts passed to this function are also capable of returning integers
from the script.
Parameters
Device
Pointer to a string containing the name of the device which is to run the
test. The device names are user defined in the initialization script at the
time TSI_TST_Init was called.
Summary of Contents for UCD-240
Page 1: ......
Page 76: ...UCD Console for UCD 340 User Manual Unigraf Oy 76 ...