• General
  • API Documentation
  • SCPI
    • General
    • Command Reference
    • Starting Server

    Show / Hide Table of Contents
    • Setup Connection
    • Usage of NI I/O Trace to monitor the SCPI traffic
    • Command Syntax
    • Status Registering System
    • Synchronization
    • Trigger System
    • Data Formats
    • Data Transmission Formats
    • Measurements
    • Error and Event Types
    • Suffixes
    • List of Abbreviations
    • SCPI Python examples

    List of all Errors and Events

    No error

    Nr. Name Type Desription
    0 No Error none this value is returned when there is no error and the error event queue is completely empty

    Command Errors

    Nr. Name Type Desription
    -100 command error Command Error generic error while trying to parse the incoming message
    -102 syntax error Command Error unrecognized command or data type (e.g. a string was received when the device does not accept strings)
    -103 invalid separator Command Error parser was excpecting a separator and encountered an illegal character
    -104 data type error Command Error parser detected a data element different than the one allowed
    -108 parameter not allowed Command Error more parameters were received than expected
    -109 missing parameter Command Error fewer parameters were received than required
    -113 undefined header Command Error command is undefined for this device although sintactically correct
    -120 numeric data error Command Error given parameter could not be parsed to a numeric value
    -150 string data error Command Error general error while trying to parse a string
    -158 string data not allowed Command Error encountered a string data were no string data was allowed
    -170 expression error Command Error expression error (e.g. parentheses not matching or illegal characters found)

    Execution Errors

    Nr. Name Type Description
    -200 execution error Execution Error general error while executing
    -211 trigger ignored Execution Error triggering signal was received and recognized but was ignored (e.g. because a measurement was already running)
    -213 init ignored Execution Error measurement initiation was ignored because another measurement was already in progress
    -221 settings conflict Execution Error a valid command could not be executed due to the current device state
    -222 data out of range Execution Error a given parameter exceeded the allowed range
    -224 illegal parameter value Execution Error a given parameter was not in the list of possible options that are accepted with the entered command
    -256 file name not found Execution Error the file name on the device media was not found

    Device Dependent Errors

    Nr. Name Type Description
    -300 device specific error Device Dependent Error general error that is device specific
    -350 queue overflow Device Dependent Error tried to add an element to a queue but queue is already full

    Query Errors

    Nr. Name Type Description
    -400 query error Query Error general query error

    Events

    Nr. Name Type Description
    -500 power on Event off to on transition of the power source was detected
    -800 operation complete Event all pending operations have terminated
    Back to top Generated by DocFX