*errorString – Pointer to a sequence of characters describing the error. Unused locations are filled with 0×00.
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:
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,