EasyManua.ls Logo

LabJack U12 - Page 32

LabJack U12
61 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
*errorString – Pointer to a sequence of characters describing the error. Unused locations are filled with00.
4.20 - GetFirmwareVersion
Retrieves the firmware version from the LabJack’s processor.
Execution time for this function is 20 milliseconds or less (typically 16 milliseconds in Windows).
Declaration:
float GetFirmwareVersion ( long *idnum )
Parameter Description:
Returns: Version number of the LabJack firmware or 0 for error.
Inputs:
*idnum – Local ID, serial number, or -1 for first found.
Outputs:
*idnum – Returns the local ID or 1 if no LabJack is found. If error, returns 512 plus a normal LabJack errorcode.
4.21 - 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:
OS Name
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 98 SE
1
4
10
2222
Windows ME
1
4
90
3000
Windows NT 3.15
2
3
51
-
Windows NT 4.0
2
4
0
1381
Windows 2000
2
5
0
2195
Windows XP
2
5
1
-
ActiveX Function Differences:
All unsigned long parameters are changed to double precision float.
4.22 - 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,
32

Other manuals for LabJack U12