top01.jpg (17169 bytes)
mleft.jpg (4986 bytes) m01a.jpg (6169 bytes)     m02a.jpg (6905 bytes)     m03a.jpg (7743 bytes)    m04a.jpg (7456 bytes)     m05a.jpg (7878 bytes)     m06a.jpg (6862 bytes)     m07a.jpg (6076 bytes) mright01.jpg (5078 bytes)

ADU  Series - USB Data Acquisition Interface SDK

ShowAduDeviceList

The ShowAduDeviceList function displays a list of ADU devices connected to the computer. Call this function to let the user see the product ids and serial numbers of connected ADU devices.

If a pointer to an ADU_DEVICE_ID structure is provided in the call then the user can select an ADU device from the list and its identifiers will be returned to the calling program.

If the user did not select a device then the ADU_DEVICE_ID structure will be filled with hex zeroes after the ShowAduDeviceList function returns.

C Declaration:

void __stdcall ShowAduDeviceList(ADU_DEVICE_ID* pAduDeviceId,
char* psPrompt);

Visual Basic Declaration:

Declare Function ShowAduDeviceList Lib "AduHid.DLL" _
(ByRef pAduDeviceId As ADU_DEVICE_ID, _
ByVal sPrompt As Any) As Long

Arguments:

Argument Type Value Description
pAduDeviceId ADU_DEVICE_ID* pointer to device id receives selected device id
NULL no data will be returned
sPrompt char* a string used to prompt user for selection
NULL default prompt is used


Return Codes:

None

Notes

The prompt string is limited to 255 characters and up to 3 lines. Use newline characters to delimit a line.
(newline = \n = 0x0a)

Example

The instruction

        ShowAduDeviceList(NULL, "Line 1\nLine 2\nLine 3");

will show:

 

NEWS         PRODUCTS         PROGRAMMING          APPLICATIONS          CUSTOM DESIGN          ORDERING          HOME


TestPoint is a trademark of Capital Equipment Corp.   
LabVIEW is a trademark of National Instruments.
Visual BASIC is a trademark of Microsoft Corporation


Copyright © 2002 ONTRAK CONTROL SYSTEMS 764 Notre Dame Ave, Unit #1 , Sudbury, Ontario, CANADA P3A 2T2  
"Quality serial Data Acquisition Interfaces"           PH. (705) 671-2652 FAX (705) 671-6127