License functions (Windows Only)
◆ PwrSnsr_GetDongleSerialNumber()
EXPORT int PwrSnsr_GetDongleSerialNumber |
( |
long * |
val | ) |
|
Get the hardware license serial number.
- Parameters
-
val | Serial number of the license dongle |
- Returns
- Success (0) or error code.
◆ PwrSnsr_GetExpirationDate()
EXPORT int PwrSnsr_GetExpirationDate |
( |
int * |
Date | ) |
|
Get the hardware license expiration date.
- Parameters
-
Date | expiration date in the format YYYYMMDD |
- Returns
- Success (0) or error code.
◆ PwrSnsr_GetNumberOfCals()
EXPORT int PwrSnsr_GetNumberOfCals |
( |
long * |
val | ) |
|
Get the number of calibrations left on the license.
- Parameters
-
- Returns
- Success (0) or error code.
◆ PwrSnsr_IsLicenseDongleConnected()
EXPORT int PwrSnsr_IsLicenseDongleConnected |
( |
int * |
val | ) |
|
Get whether the hardware license dongle is connected.
- Parameters
-
val | Boolean. 1 for connected or 0 for not connected. |
- Returns
- Success (0) or error code.