EasyManua.ls Logo

Opt OPT-DPA1024E-4 - Reading Serial Number; Reading IP Configuration

Opt OPT-DPA1024E-4
40 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...
OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
37
controllerHandle the handle of controller;
isBackup –“true” means “need backup” while “false” stands for not.
4. Return value
succeed: OPT SUCCEED;
failed: OPT ERR UNKOWN (see the error code in Tab. 1).
2.22. Reading serial number
1. Function: long OPTController ReadSN(OPTController Handle controllerHandle, char *SN)
2. Description: read the serial number (SN) of the controller
3. Input(s): controllerHandle the handle of controller
4. Output(s): SN the obtained serial number
5. Return value
succeed: OPT SUCCEED;
failed: OPT ERR READ SN FAILED (see the error code in Tab. 1).
2.23. Reading IP configuration
1. Function: long OPTController ReadIPConfig(OPTController Handle controllerHandle, char *IP, char
*subnetMask, char *defaultGateway)
2. Description: read IP configuration of the controller
3. Input(s): controllerHandle the handle of controller
4. Output(s):
IP the obtained IP address;
subnetMask the obtained subnet mask;
defaultGateway the obtained default gateway.
5. Return value
succeed: OPT SUCCEED;
failed: OPT ERR READ IPCONFIG FAILED (see the error code in Tab. 1).

Table of Contents