Returns the manufacturer and model of the Counter.
CalCounterGetInfo (hHandle, psManufacturer, psModel, plStatus)
Name |
Type |
Comments |
hHandle |
LONG |
Handle for a Counter. |
psManufacturer |
PSTR |
Returns a string with the manufacture name. |
psModel |
PSTR |
Returns a string with the model name. |
plStatus |
PLONG |
Returned status: 0 on success, negative number on failure. |
The following example gets the Matrix information:
LONG lHandle, lStatus;
CHAR sManufacturer[256];
CHAR sModel[256];
CalCounterGetInfo (lHandle, sManufacturer, sModel, &lStatus);
printf(“The Manufacturer is: %s and the Model is: %s”, sManufacturer, sModel);