![Opt OPT-DPA1024E-4 Manual Download Page 37](http://html1.mh-extra.com/html/opt/opt-dpa1024e-4/opt-dpa1024e-4_manual_1640664037.webp)
OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:
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).