
Windows 98
1
4
10
1998
Windows 98SE
1
4
10
2222
Windows Me
1
4
90
3000
Windows NT 3.51
2
3
51
-
Windows NT 4.0
2
4
0
1381
Windows
2000
2 5 0
2195
Whistler
2 5 1 -
4.15 ListAll
Searches the USB for all LabJacks, and returns the serial number and local ID for each.
Declaration:
long __cdecl ListAll (
long *productIDList,
long
*serialnumList,
long
*localIDList,
long
*powerList,
long
(*calMatrix)[20],
long
*numberFound,
long
*fcddMaxSize,
long
*hvcMaxSize
)
Parameter Description:
Returns:
LabJack errorcodes or 0 for no error.
Inputs:
•
*productIDList –
Pointer to a 127 element array. Send filled with zeros.
•
*serialnumList –
Pointer to a 127 element array. Send filled with zeros.
•
*localIDList –
Pointer to a 127 element array. Send filled with zeros.
•
*powerList –
Pointer to a 127 element array. Send filled with zeros.
•
*calMatrix –
Pointer to a 127 by 20 element array. Send filled with zeros.
Outputs:
•
*serialnumList –
Pointer to a 127 element array where serial numbers are
returned. Unused locations are filled with 9999.0.
•
*localIDList –
Pointer to a 127 element array where local ID numbers are
returned. Unused locations are filled with 9999.0.
•
*numberFound –
Number of LabJacks found on the USB.
ActiveX Function Differences:
The arrays are represented as strings with 10 characters per number (XXXXXXXXXX). Zeros
are used for padding where necessary.
Declaration (ActiveX):
long ListAllX (
BSTR FAR* productIDList,
BSTR FAR* serialnumList,
BSTR FAR* localIDList,
BSTR FAR* powerList,
BSTR FAR* calMatrix,
long FAR* numberFound,
long FAR* fcddMaxSize,
long FAR* hvcMaxSize)