Returns the manufacturer, model number, serial number, control number, calibration date, and firmware version of the Reference.
CalRefGetInfoEx (hHandle, psManufacturer, psModel, psSerial, psCtrlNumber, psCalDate, psFirmware, psAdditionalInfo, plStatus)
Name |
Type |
Comments |
hHandle |
LONG |
Handle for a Reference. |
psManufacturer |
PSTR |
Returns a string with the manufacturer name. |
psModel |
PSTR |
Returns a string with the model name. |
psSerial |
PSTR |
Returns a string with the serial number, returns empty string if not applicable. |
psCtrlNumber |
PSTR |
Returns a string with the control number, returns empty string if not applicable. |
psCalDate |
PSTR |
Returns a string with the calibration date, returns empty string if not applicable. |
psFirmware |
PSTR |
Returns a string with the firmware version, returns empty string if not applicable. |
psAdditionalInfo |
PSTR |
Returns a string with any additional information, returns empty string if not applicable. |
plStatus |
PLONG |
Returned status: 0 on success, negative number on failure. |
Function returns the manufacturer, model number, serial number, control number, calibration date, and firmware version of the Reference.
The following example gets the Matrix information:
LONG lHandle, lStatus;
CHAR szManufacturer[256];
CHAR szModel[256];
CHAR szsSerial[256];
CHAR szsCtrlNumber[256];
CHAR szsCalDate[256];
CHAR szsFirmware[256];
CHAR szsAdditionalInfo[256];
CalMatrixGetInfoEx (lHandle, szManufacturer, szModel, szSerial, szCtrlNumber, szCalDate, szFirmware, szAdditionalInfo, &lStatus);
printf(“The Manufacturer is: %s, Model is: %s, Serial number is: %s, control number is: %s, calibration date is: %s, firmware version is: %s, additional info: %s,”, szManufacturer, szModel, szSerial, szCtrlNumber, szCalDate, szFirmware, szAdditionalInfo);