Download TE USB API - Trenz Electronic

Transcript
1 Requirements
UM-FX2-USB-API (v 1.01) 7 May 2012
1 Requirements
1.1 General requirements
For using TE03xx API host computer should meet the following requirements:
● Operating system: Microsoft Windows 2000, Microsoft Windows XP,
Microsoft Windows Vista, Microsoft Windows 7
● USB driver: Dedicated USB driver for your board
● Interface: USB host
See your board user manual for dedicated driver installation instructions.
1.2 Examples requirements
In order to use the examples from this manual host computer should meet the
following requirements:
● Python 2.7 or higher
See Appendix A. Python Installation for details.
2 Driver functions description
In order to provide a user interface for driver functions, dynamic link library
"TE0300DLL.dll" has been used. User programs should load this library and
initialize board connection to get access to API functions.
TE0300DLL.dll library exports functions:
● TE0300_ScanCards
● TE0300_Open
● TE0300_Close
● TE0300_SendCommand
● TE0300_GetData
● TE0300_SetData
Functions return standard Windows error codes. Codes from 0 to 999 listed in
Appendix D. Windows error codes 0-999,full list can be found in Microsoft
MSDN documentation.
2.1 TE0300_ScanCards
Function scans for available USB devices.
int TE0300_ScanCards()
3/36
@param
None
@return
Number of available USB devices
www.trenz-electronic.de
TE USB API