Software | Seite
62
4.5.2. Customisation for RO-ETH-Modules (only Linux)
In order to access a RO-ETH module under Linux, you have to set IP address of the
module. Therefore you can find in the directory "/deditec-cli/source" the file
"delib_cli_open_module_eth.c" after unzipping the ZIP archive.
You have to modify following entry:
#include "../../delib-sources/delib/delib.h"
extern char global_ip_addr[];
ULONG handle;
ULONG delib_cli_open_module()
{
sprintf(global_ip_addr, "192.168.1.11");
// Set the IP address of the RO-ETH
module here
handle = DapiOpenModule(RO_ETH,0);
return handle;
}
Note:
The project "delib-cli-eth" has to recompiled after each modification. Therefore,
you can find in the directory "/deditec-cli/", the shell script "compile_delib_cli_eth.
sh", with which you can compile the project under Linux.
Summary of Contents for USB-OPTOIN-8
Page 1: ...Hardware Description Dezember USB RELAIS 8 OPTOIN 8 2012 ...
Page 5: ...INDEX Index 5 Seite 6 Appendix 98 6 1 Revisions 98 6 2 Copyrights and trademarks 99 ...
Page 6: ...I Introduction Seite 6 Introduction ...
Page 8: ...II Hardware description Seite 8 Hardware description ...
Page 12: ...Hardware description Seite 12 2 2 3 Overview screen ...
Page 17: ...Hardware description Seite 17 2 3 3 Overview screen ...
Page 20: ...Hardware description Seite 20 ...
Page 21: ...III Firmware update Seite 21 Firmware update ...
Page 24: ...Firmware update Seite 24 After successful update procedure the message FLASH OK appears ...
Page 25: ...IV Software Seite 25 Software ...
Page 48: ...Software Seite 48 Choose the option create VIs for DLL and press continue ...
Page 67: ...V DELIB API reference Seite 67 DELIB API reference ...
Page 97: ...VI Appendix Seite 97 Appendix ...