UCD Console for UCD-340 User Manual | Unigraf Oy
73.
iScript
Pointer to a string containing the script to be processed. The script can be
directly passed as string, or it can be a file-name from which the script is
loaded.
Error
Reference (pointer) to a boolean variable which will be set to “true” if the
script contained errors. If the script was completed without errors, this
variable will be set to “false”.
oErrorMsg
Pointer to a character buffer of 1024 bytes which will receive a human
readable error message if the script contained errors.
oIntTable
Pointer to a table of integers that will receive any values returned by the
script. The returned values are placed into the output table in the order they
were read.
iMaxCount
Size of the integer table passed in oIntTable, as count of integers.
Result
The given script is executed. Any values read are placed into the table given in oIntTable. In
case of error in the scripts, the Error and oErrorMsg variables are set accordingly.
TSI_TST_Clean
ClientVersion 12, and higher No license requirements
void __cdecl TSI_TST_Clean()
Description
Release all allocated resources and close all devices. This function should be called when the
TSI functions are not going to be used by the test program.
Result
All resources allocated by TSI are released and devices are closed.
TSI Scripts in TestStand
This section defines how to write scripts to be used with the TSI_TST_Init,
TSI_TST_RunTest and TSI_TST_RunScript functions. As each of these functions has a
slightly different use for the scripts, the scripts also are slightly different.
Please notice, that TSI has a two-levels of scripts. The scripts used with TestStand integration
are considered simplistic, and it offers read/write operations for the configuration items. It
has no flow control mechanisms or other advanced features – these types of features are
expected to be provided on a higher level language (like within a test sequence in TestStand).
TestStand script syntax
The script language syntax follows these rules.
Summary of Contents for UCD-240
Page 1: ......
Page 76: ...UCD Console for UCD 340 User Manual Unigraf Oy 76 ...