EasyManua.ls Logo

Tescom TC-3000C - Page 180

Default Icon
255 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5.7 Reference Guide for using DLL
180
Parameter
void
dut_init
Description
This function creates new DUT structure. For more details, the function allocates memory for the DUT
structure to store tester’s data and parameters and reads the parameters from the file ‘dut.cnf’. If the file
either does not exist or has incorrect data format, then new file ‘dut.cnf will be created with default
parameters.
Syntax
unsigned long dut_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
new_dut
Description
The function reinitializes (creates) HCI transport layer to the DUT (if necessary) and resets the tester.
Syntax
unsigned long new_dut(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
read_dut_hc_port
Description
This function reads the number of ports (USB, RS-232C...) of a DUT.
Syntax
unsigned long read_dut_hc_port(unsigned char *hc_port);
Return Value
The return value of this function will be zero if the function is successful. Otherwise, the return value will be
NOTE
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.
NOTE
Normally the function should be called after every unplugging or replacing of a
DUT.

Table of Contents

Related product manuals