![]() |
IDTech Windows SDK Guide
3.2.4.393
API reference for Visual Studio .Net
|
A Singleton instance model is used to the class. Establish the callback, and then access the device through USB via the SharedController instance. Or, you can establish through Serial Port or IP if available for your device
Alternately, the IDTechSDK.dll library can be used to drive multiple IDTech Devices. If the plan is to use two or more devices, then the IDT_Device class should be used instead of the invidual device class. You can then tell the SDK what device to use, and then use the same code/API method for both devices:
The SDK is driven by the commands in the IDT_Device class. This class has all the functions for many different ID Tech devices. As a result, there may be many functions that may not be applicable to your particular device. That is why we also provide the individual device class, like IDT_SREDKey2. When you use that individual device class, that acts as a filter of all the available commands that can be executed in the IDT_Device class. If you attempt to use an API method in IDT_Device class not intended for your particular device, either the SDK or the device FW will return an applicable error code as a response.