CalMatrixGetInfoEx

Purpose

Returns the manufacturer, model number, serial number, control number, calibration date, and firmware version of the Matrix.

Syntax

CalMatrixGetInfoEx (hHandle, psManufacturer, psModel, psSerial, psCtrlNumber, psCalDate, psFirmware, psAdditionalInfo, plStatus)

Parameters

Name
Type
Comments
hHandle
LONG
Handle for a Matrix.
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.

Comments

Function returns the manufacturer, model number, serial number, control number, calibration date, and firmware version of the Matrix.

Example

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);

 

See Also

CalMatrixGetInfo, CalMatrixGetError