4
Software ......................................................................................................................... 36
Software Overview............................................................................................................................................................. 36
Card Control Center ........................................................................................................................................................... 36
Discovery of Remote Cards and digitizerNETBOXes.......................................................................................................... 37
Hardware information................................................................................................................................................... 38
Firmware information .................................................................................................................................................... 38
Driver information......................................................................................................................................................... 38
Installing and removing Demo cards ............................................................................................................................... 39
Debug logging for support cases .................................................................................................................................... 39
Feature upgrade........................................................................................................................................................... 39
Software License upgrade.............................................................................................................................................. 39
Performing card calibration ........................................................................................................................................... 40
Performing memory test ................................................................................................................................................. 40
Transfer speed test........................................................................................................................................................ 40
Firmware upgrade ........................................................................................................................................................ 41
Compatibility Layer (M2i cards only) .................................................................................................................................... 41
Usage modes............................................................................................................................................................... 41
Abilities and Limitations of the compatibility DLL ............................................................................................................... 42
Accessing the cards with SBench 5.x .................................................................................................................................... 42
C/C++ Driver Interface....................................................................................................................................................... 42
Header files ................................................................................................................................................................. 43
General Information on Windows 64 bit drivers............................................................................................................... 43
Microsoft Visual C++ 6.0 and 2005 32 Bit ..................................................................................................................... 43
Microsoft Visual C++ 64 Bit........................................................................................................................................... 43
Borland C++ Builder 32 Bit ........................................................................................................................................... 44
Linux Gnu C/C++ 32/64 Bit ......................................................................................................................................... 44
C++ for .NET ............................................................................................................................................................... 44
Other Windows C/C++ compilers 32 Bit ........................................................................................................................ 44
Other Windows C/C++ compilers 64 Bit ........................................................................................................................ 44
National Instruments LabWindows/CVI........................................................................................................................... 45
Driver functions .................................................................................................................................................................. 45
Borland Delphi (Pascal) Programming Interface ...................................................................................................................... 50
Driver interface ............................................................................................................................................................ 50
Examples..................................................................................................................................................................... 51
Visual Basic Programming Interface and Examples ................................................................................................................. 52
Driver interface ............................................................................................................................................................ 52
Examples..................................................................................................................................................................... 53
.NET programming languages ............................................................................................................................................. 54
Library ........................................................................................................................................................................ 54
Declaration.................................................................................................................................................................. 54
Using C#..................................................................................................................................................................... 54
Using Managed C++/CLI.............................................................................................................................................. 55
Using VB.NET .............................................................................................................................................................. 55
Using J# ...................................................................................................................................................................... 55
Python Programming Interface and Examples......................................................................................................................... 56
Driver interface ............................................................................................................................................................ 56
Examples..................................................................................................................................................................... 57
Programming the Board .................................................................................................. 58
Overview .......................................................................................................................................................................... 58
Register tables ................................................................................................................................................................... 58
Programming examples....................................................................................................................................................... 58
Initialization....................................................................................................................................................................... 59
Initialization of Remote Products ........................................................................................................................................... 59
Error handling.................................................................................................................................................................... 59
Gathering information from the card..................................................................................................................................... 60
Card type .................................................................................................................................................................... 60
Hardware version......................................................................................................................................................... 61
Production date ............................................................................................................................................................ 61
Last calibration date...................................................................................................................................................... 61
Serial number .............................................................................................................................................................. 61
Maximum possible sampling rate ................................................................................................................................... 62
Installed memory .......................................................................................................................................................... 62
Installed features and options ......................................................................................................................................... 62
Miscellaneous Card Information ..................................................................................................................................... 63
Used type of driver ....................................................................................................................................................... 63
Reset................................................................................................................................................................................. 64