User Manual

Inputs:
*idnum – Local ID, serial number, or -1 for first found.
Outputs:
*idnum – Returns the local ID or –1 if no LabJack is found.
4.19 GetWinVersion
Uses a Windows API function to get the OS version.
Declaration:
long GetWinVersion ( unsigned long *majorVersion,
unsigned long *minorVersion,
unsigned long *buildNumber,
unsigned long *platformID,
unsigned long *servicePackMajor,
unsigned long *servicePackMinor )
Parameter Description:
Returns: LabJack errorcodes or 0 for no error.
Outputs:
Platform Major Minor Build
Windows 3.1 0 - - -
Windows 95 1 4 0 950
Windows 95 OSR2 1 4 0 1111
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.20 ListAll
Searches the USB for all LabJacks, and returns the serial number and local ID for each.
Declaration:
long 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.