
Page
6
of
18
ADU71 User Manual
4.
AduHidTest USB Device Test Program
AduHidTest is a Windows based USB device test program used to test the connection of ADU data acquisition
devices to a USB port. The program is also a useful tool to allow programmers to become familiar with the ADU71
command set. AduHidTest software can be downloaded from the Ontrak website at:
http://www.ontrak.net/programming.htm
. Note that the program requires the AduHid.dll to operate and it
should be copied to the dame directory as the AduHidTest.exe file.
Getting Started:
There are three steps in using a USB device in any application software. The three steps are;
1. Obtain a handle for the USB device.
2. Send commands to the USB device.
3. Receive data from the USB device.
STEP 1: Obtain a handle for the ADU71
A handle is a unique code that application software uses to identify a USB device for the purpose of reading and
writing to the device. A USB bus can have up to 128 devices connected to a single host and there are three
criteria that can be used to open a handle. The three criteria are, Vendor ID, Product ID and Serial Number. If a
single device is connected to the bus, any of the three criteria may be used. If multiple devices are connected,
we recommend using the Serial Number to open the handle.
( All ADU devices have their unique serial number printed on the top label )
When run, the AduHidtest Software will display the following window.
Figure 1: AduHidTest Software Window