5.7 Reference Guide for using DLL
173
void
tester_close
Description
This function stops a thread, created by the function tester_init() and frees memory allocated during remote
control operations.
Syntax
unsigned long tester_close(void);
Return Value
The return value of this function will be zero if the function is successful. Otherwise, the return value will be
an error code.
Parameter
void
tester_init
Description
This function allocates memory for the tester structure to store tester’s data and parameters and reads the
parameters from the file ‘tester.cnf’. If the file either does not exist or has incorrect data format, then new file
‘tester.cnf’ will be created with default parameters. The function creates a thread, which supports exchange
of data between remote PC and tester and processing of the data. The function remotely configures a tester
according to tester’s parameters as well.
Syntax
unsigned long tester_init(void);
Return Value
The return value of this function will be zero if the function is successful. Otherwise, the return value will be
an error code.
Parameter
void
tester_reset
Description
This function sets Standby state of the tester’s Host controller and clears databases of discovered DUTs and
Normally the function should be called at the end of the remote control program.
For GUI applications call of the function should be added to a destructor of the
main object.
Normally the function should be called only once. For GUI applications call of the
function should be added to a constructor of the main object.