IviFgen Error and Completion Codes
From CVI/LabWindows IVI Class Driver
IviFgen 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 IviFgen_error_message function. To obtain additional information about the error condition, use the IviFgen_GetError and IviFgen_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 |
|---|---|---|
| IviFgen Errors | 0xBFFA2001 to 0xBFFA3FFF | ivifgen.h |
| IviFgen Warnings | 0x3FFA2001 to 0x3FFA3FFF | ivifgen.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 IviFgen class driver defines the following error codes in addition to the IVI defined error codes.
IviFgen Error Codes
| Error Codes | Value | Description |
|---|---|---|
| IVIFGEN_ERROR_NO_WFMS_AVAILABLE | 0xBFFA2004 | The function generator's waveform memory is full. |
| IVIFGEN_ERROR_WFM_IN_USE | 0xBFFA2008 | The waveform is currently in use. |
| IVIFGEN_ERROR_NO_SEQS_AVAILABLE | 0xBFFA2009 | The function generator's sequence memory is full. |
| IVIFGEN_ERROR_SEQ_IN_USE | 0xBFFA200D | The sequence is currently in use. |
| IVIFGEN_ERROR_TRIGGER_NOT_SOFTWARE | 0xBFFA1001 | The trigger source is not software trigger. |