Herunterladen Diese Seite drucken

Optelec ClearNote HD Bedienungsanleitung Seite 11

Vorschau ausblenden Andere Handbücher für ClearNote HD:

Werbung

Inhaltsverzeichnis
1. Die Programmierschnittstelle der AnaGate-Serie ........................................ 4
2. Anmerkungen zum Kommunikationsprotokoll TCP ...................................... 7
2.1. Besondere Protokolleigenschaften ................................................... 7
3. Allgemeine Funktionen ........................................................................... 9
DLLInfo ............................................................................................ 10
4. CAN API Funktionen ............................................................................. 11
CANOpenDevice, CANOpenDeviceEx .................................................... 12
CANCloseDevice ................................................................................ 15
CANSetGlobals .................................................................................. 16
CANGetGlobals .................................................................................. 19
CANSetFilter ..................................................................................... 21
CANGetFilter ..................................................................................... 23
CANSetTime ..................................................................................... 24
CANGetTime ..................................................................................... 25
CANWrite, CANWriteEx ....................................................................... 26
CANSetCallback, CANSetCallbackEx ..................................................... 28
CANSetMaxSizePerQueue ................................................................... 30
CANGetMessage ................................................................................ 32
CANReadDigital ................................................................................. 34
CANWriteDigital ................................................................................ 36
CANReadAnalog ................................................................................ 37
CANWriteAnalog ................................................................................ 39
CANRestart ....................................................................................... 41
CANDeviceConnectState ..................................................................... 42
CANStartAlive ................................................................................... 43
CANErrorMessage .............................................................................. 44
5. SPI API Funktionen .............................................................................. 45
SPIOpenDevice ................................................................................. 46
SPICloseDevice ................................................................................. 48
SPISetGlobals ................................................................................... 49
SPIGetGlobals ................................................................................... 51
SPIDataReq ...................................................................................... 53
SPIReadDigital .................................................................................. 55
SPIWriteDigital .................................................................................. 57
SPIErrorMessage ............................................................................... 58
6. I2C API Funktionen .............................................................................. 59
I2COpenDevice ................................................................................. 60
I2CCloseDevice ................................................................................. 62
I2CReset .......................................................................................... 63
I2CRead ........................................................................................... 64
I2CWrite .......................................................................................... 65
I2CSequence .................................................................................... 66
I2CReadDigital .................................................................................. 68
I2CWriteDigital ................................................................................. 70
I2CErrorMessage ............................................................................... 71
I2CReadEEProm ................................................................................ 72
I2CWriteEEProm ................................................................................ 74
I2CWriteEEPromPollAck ...................................................................... 77
7. Programmier-Beispiele .......................................................................... 80
7.1. Programmiersprache C/C++ ........................................................ 80
7.2. Programmiersprache Visual Basic 6 ............................................... 81
2
© 2007-2015 Analytica GmbH

Werbung

loading