DELIB API reference |
Seite
26
5. DELIB API reference
5.1. Management functions
5.1.1. DapiOpenModule
Description
This function opens a particular module.
Definition
ULONG DapiOpenModule(ULONG moduleID, ULONG nr);
Parameters
moduleID=Specifies the module, which is to be opened (see delib.h)
nr=Indicates No of module which is to be opened.
nr=0 -> 1. module
nr=1 -> 2. module
Return value
handle=handle to the corresponding module
handle=0 -> Module was not found
Remarks
The handle returned by this function is needed to identify the module for all
other functions.
Example program
// USB-Modul öffnen
handle = DapiOpenModule(RO_USB1, 0);
printf("handle = %x\n", handle);
if (handle==0)
{
// USB Modul wurde nicht gefunden
printf("Modul konnte nicht geöffnet werden\n");
return;
}
Содержание RO-INTERFACE-ETH
Страница 1: ...Hardware Description Oktober RO INTERFACE ETH 2010 ...
Страница 4: ...I Introduction Seite 4 Introduction ...
Страница 6: ...II Hardware description Seite 6 Hardware description ...
Страница 12: ...III Configuring the module Seite 12 Configuring the module ...
Страница 19: ...IV Firmware Update Seite 19 Firmware Update ...
Страница 21: ...Firmware Update Seite 21 4 2 Web interface Approach 1 Type the IP address of your module in the browser ...
Страница 22: ...Firmware Update Seite 22 1 Click on FW Update 2 Select the file ro_cpu_eth_fw dfw 3 Click on Firmware update ...
Страница 23: ...V Restore basic configuration Seite 23 Restore basic configuration ...
Страница 25: ...VI Software Seite 25 Software ...
Страница 37: ...VII Appendix Seite 37 Appendix ...
Страница 38: ...Appendix Seite 38 7 Appendix 7 1 Revisions Rev 1 00 First issue Rev 2 00 Design change ...
Страница 40: ...Hardware Description Oktober RO DIGITAL IN OUT 2010 ...
Страница 44: ...I Introduction Seite 5 Introduction ...
Страница 46: ...II Hardware description Seite 7 Hardware description ...
Страница 62: ...III Software Seite 23 Software ...
Страница 72: ...IV DELIB API reference Seite 33 DELIB API reference ...
Страница 96: ...V Appendix Seite 57 Appendix ...
Страница 97: ...Appendix Seite 58 5 Appendix 5 1 Revisions Rev 1 00 First issue Rev 2 00 Design change ...
Страница 99: ...Hardware Description November RO STEPPER2 2010 ...
Страница 102: ...INDEX Index 4 Seite 4 4 Example program 59 5 Appendix 62 5 1 Revisions 62 5 2 Copyrights and trademarks 63 ...
Страница 103: ...I Introduction Seite 5 Introduction ...
Страница 105: ...II Hardware description Seite 7 Hardware description ...
Страница 109: ...III Software Seite 11 Software ...
Страница 120: ...IV DELIB API reference Seite 22 DELIB API reference ...
Страница 159: ...V Appendix Seite 61 Appendix ...
Страница 162: ...Hardware Description November RO Series 2010 ...
Страница 170: ...I Introduction Seite 9 Introduction ...
Страница 172: ...II Hardware description Seite 11 Hardware description ...
Страница 181: ...Hardware description Seite 20 2 1 3 2 Web interface Approach 1 Type the IP address of your module in the browser ...
Страница 182: ...Hardware description Seite 21 1 Click on FW Update 2 Select the file ro_cpu_eth_fw dfw 3 Click on Firmware update ...
Страница 251: ...III Software Seite 90 Software ...
Страница 263: ...IV DELIB API reference Seite 102 DELIB API reference ...
Страница 333: ...V Appendix Seite 172 Appendix ...
Страница 336: ...DEDITEC Driver Library Dezember DELIB 2010 ...
Страница 341: ...I Welcome Seite 6 Welcome ...
Страница 342: ...Welcome Seite 7 1 Welcome Manual DELIB ...
Страница 343: ...II Introduction Seite 8 Introduction ...
Страница 345: ...III Software Seite 10 Software ...
Страница 357: ...IV Directory structure of the DELIB Seite 22 Directory structure of the DELIB ...
Страница 360: ...V DELIB API reference Seite 25 DELIB API reference ...
Страница 440: ...VI Appendix Seite 105 Appendix ...