IviDCPwr Error and Warning Codes
From CVI/LabWindows IVI Class Driver
IviDCPwr Error and Warning Codes
The functions in this class driver generate return values that report the status of this operation. To obtain a text description of the status code, or if the status code is not listed below, call the IviDCPwr_error_message function. To obtain additional information about the error condition, use the IviDCPwr_GetError and IviDCPwr_ClearError functions.
| Note If a function succeeds, it returns VI_SUCCESS, which has a numeric value of 0. |
Status Code Ranges
| Status Code Type | Numeric Range (in Hex) | Include File |
|---|---|---|
| IviDCPwr Errors | 0xBFFA2001 to 0xBFFA3FFF | ividcpwr.h |
| IviDCPwr Warnings | 0x3FFA2001 to 0x3FFA3FFF | ividcpwr.h |
| Specific Driver Errors | 0xBFFA4000 TO 0xBFFA5FFF | Prefix.h |
| Specific Driver Warnings | 0x3FFA4000 TO 0x3FFA5FFF | Prefix.h |
| IVI Errors | 0xBFFA0000 to 0xBFFA1FFF | ivi.h |
| IVI Warnings | 0x3FFA0000 to 0x3FFA1FFF | ivi.h |
| Common Instrument Driver Errors | 0xBFFC0000 to 0xBFFCFFFF | vpptype.h |
| Common Instrument Driver Warnings | 0x3FFC0000 to 0x3FFCFFFF | vpptype.h |
| VISA Errors | 0xBFFF0000 to 0xBFFFFFFF | visa.h |
| VISA Warnings | 0x3FFF0000 to 0x3FFFFFFF | visa.h |
The IviDCPwr class driver defines the following error codes in addition to the IVI defined error codes.
IviDCPwr Error Code
| Error Code | Value | Description |
|---|---|---|
| IVIDCPWR_ERROR_TRIGGER_NOT_SOFTWARE | 0xBFFA1001 | The trigger source is not a software trigger. |