Possible Errors
- Updated2023-02-21
- 1 minute(s) read
Refer to the following table for information about the possible errors NI-VNA can return when reading the configuration file.
| Error Name | Error Description | Example | IVI Error Code |
|---|---|---|---|
| NIVNA_ERROR_BAD_SWEEP_PARAMETER | Indicates when unsupported parameters are attempting to be read. | "Nummports" was specified in the configuration file instead of "numPorts". | (IVI_SPECIFIC_ERROR_BASE+128) |
| NIVNA_ERROR_DATA_OUT_OF_RANGE | Indicates when data is outside the specified parameter data range. | The freqStop parameter is set to 9.6 GHz. | (IVI_SPECIFIC_ERROR_BASE+129) |
| NIVNA_ERROR_INCONSISTENT_PORT_NUMBER | Indicates when the port number and number of port powers defined do not match. | The numPorts parameter is set to 2, but portPower has only one number defined in a segment. | (IVI_SPECIFIC_ERROR_BASE+126) |
| NIVNA_ERROR_INVALID_CFG_FORMAT | Indicates when the format of the configuration file is incorrect. | The configuration file is missing a required bracket or comma. | (IVI_SPECIFIC_ERROR_BASE+125) |
| NIVNA_ERROR_INVALID_DATA_TYPE | Indicates the data type associated with a sweep settings parameter is invalid. | A string was entered as the data for freqStart. | (IVI_SPECIFIC_ERROR_BASE+127) |
| NIVNA_ERROR_REQUIRED_PARAMETER_NOT_FOUND | Indicates when a parameter required for the segment type was not found. | A required parameter, such as numPorts, was not specified. | (IVI_SPECIFIC_ERROR_BASE+120) |
![]() |
Note The NI-VNA IVI_SPECIFIC_ERROR_BASE is 0xBFFA4000. |
