• General
    • Automated Measurements Overview
    • System Requirements
    • Measurement Modes and Default Settings
  • Bode Automation Interface
    • Documentation
    • Command Reference
    • Changelog
  • SCPI
    • Documentation
    • Command Reference
    • Error Handling
    • Changelog

    Show / Hide Table of Contents
    • General commands
      • :ABORt
      • *CLS
      • *ESE
      • *ESR
      • *IDN
      • *OPC
      • *OPC?
      • *RST
      • *SRE
      • *STB
      • *TRG
      • *TST
      • *WAI
    • Calculate subsystem
      • :CALCulate:PARameter:COUNt
      • :CALCulate:PARameter:DEFine
      • :CALCulate:PARameter:SELect
      • :CALCulate[:SELected]:DATA:SDATa
      • :CALCulate[:SELected]:FORMat
      • :CALCulate[:SELected]:ZPARameter:DEFine
    • Format subsystem
      • :FORMat[:DATA]
    • Initiate subsystem
      • :INITiate[:IMMediate]
      • :INITiate:CONTinuous
    • Input subsystem
      • :INPut:ATTenuation:CH1
      • :INPut:ATTenuation:CH2
      • :INPut:ATTenuation:R
      • :INPut:ATTenuation:T
      • :INPut:GAIN:CH1
      • :INPut:GAIN:CH2
      • :INPut:GAIN:R
      • :INPut:GAIN:T
      • :INPut:IMPedance:CH1
      • :INPut:IMPedance:CH2
      • :INPut:IMPedance:R
      • :INPut:IMPedance:T
    • Mass Memory subsystem
      • :MMEMory:CATalog:CORRection
      • :MMEMory:DELete:CORRection
      • :MMEMory:STORe:CORRection
      • :MMEMory:LOAD:CORRection:FULLrange
      • :MMEMory:LOAD:CORRection:USERrange
    • Output subsystem
      • :OUTPut:AOFF
    • Sense subsystem
      • :SENSe:AVERage[:STATe]
      • :SENSe:AVERage:CLEar
      • :SENSe:AVERage:COUNt
      • :SENSe:BANDwidth[:RESolution]
      • :SENSe:BWIDth[:RESolution]
      • :SENSe:CORRection:FULLrange:ACTive
      • :SENSe:CORRection:FULLrange:AVAIlable
      • :SENSe:CORRection:FULLrange:DATA:FREQuencies
      • :SENSe:CORRection:FULLrange:DATA:LOAD
      • :SENSe:CORRection:FULLrange:DATA:OPEN
      • :SENSe:CORRection:FULLrange:DATA:SHORt
      • :SENSe:CORRection:FULLrange:DATA:THRU
      • :SENSe:CORRection:FULLrange:ENABle
      • :SENSe:CORRection:FULLrange:EXTPolated
      • :SENSe:CORRection:FULLrange:MULTimode
      • :SENSe:CORRection:FULLrange:LOAD[:EXEcute]
      • :SENSe:CORRection:FULLrange:OPEN[:EXEcute]
      • :SENSe:CORRection:FULLrange:SHORt[:EXEcute]
      • :SENSe:CORRection:FULLrange:THRU[:EXEcute]
      • :SENSe:CORRection:IMPedance[:INPut][:MAGNitude]
      • :SENSe:CORRection:LOAD
      • :SENSe:CORRection:SDELaytime
      • :SENSe:CORRection:USERrange:ACTive
      • :SENSe:CORRection:USERrange:AVAIlable
      • :SENSe:CORRection:USERrange:DATA:FREQuencies
      • :SENSe:CORRection:USERrange:DATA:LOAD
      • :SENSe:CORRection:USERrange:DATA:OPEN
      • :SENSe:CORRection:USERrange:DATA:SHORt
      • :SENSe:CORRection:USERrange:DATA:THRU
      • :SENSe:CORRection:USERrange:ENABle
      • :SENSe:CORRection:USERrange:MULTimode
      • :SENSe:CORRection:USERrange:LOAD[:EXEcute]
      • :SENSe:CORRection:USERrange:OPEN[:EXEcute]
      • :SENSe:CORRection:USERrange:SHORt[:EXEcute]
      • :SENSe:CORRection:USERrange:THRU[:EXEcute]
      • :SENSe:FREQuency:CENTer
      • :SENSe:FREQuency:DATA
      • :SENSe:FREQuency:SPAN
      • :SENSe:FREQuency:STARt
      • :SENSe:FREQuency:STOP
      • :SENSe:SWEep:DWELl
      • :SENSe:SWEep:POINts
      • :SENSe:SWEep:PSSTime
      • :SENSe:SWEep:TIME[:DATA]?
      • :SENSe:SWEep:TYPE
      • :SENSe:Z:METHod
    • Service subsystem
      • :SERVice:SWEep:FREQuency:MAXimum
      • :SERVice:SWEep:FREQuency:MINimum
      • :SERVice:SWEep:POINts
      • :SERVice:SWEep:POWer:MAXimum
      • :SERVice:SWEep:POWer:MINimum
    • Source subsystem
      • :SOURce:POWer[:LEVel][:IMMediate][:AMPLitude]
    • Status subsystem
      • :STATus:OPERation[:EVENt]
      • :STATus:OPERation:CONDition
      • :STATus:OPERation:ENABle
      • :STATus:OPERation:NTRansition
      • :STATus:OPERation:PTRansition
      • :STATus:PRESet
      • :STATus:QUEStionable[:EVENt]
      • :STATus:QUEStionable:CONDition
      • :STATus:QUEStionable:ENABle
      • :STATus:QUEStionable:NTRansition
      • :STATus:QUEStionable:PTRansition
    • System subsystem
      • :SYSTem:ERRor:ALL
      • :SYSTem:ERRor[:NEXT]
      • :SYSTem:ERRor:COUNt
      • :SYSTem:LOCK:OWNer
      • :SYSTem:LOCK:RELease
      • :SYSTem:LOCK:REQuest
      • :SYSTem:PRESet
      • :SYSTem:TEMPerature:SENSors
      • :SYSTem:VERSion
    • Trigger subsystem
      • :TRIGger[:SEQuence][:IMMediate]
      • :TRIGger[:SEQuence]:SINGle
      • :TRIGger[:SEQuence]:SOURce

    :STATus:OPERation:CONDition

    Description

    This command returns the content of the operation condition register.

    Note

    Reading the register has no effect on the content of the register.

    Note

    This regiser represents all ongoing operations and the current state of the device. If the device is NOT locked most of the bits are not relevant and do NOT reflect the current state of the device. In the unlocked state only bit 9 and bit 10 are important.

    • Query
    Syntax Response
    :STATus:OPERation:CONDition? <numeric>
    Response value description
    <numeric> value of the operation condition register in range from 0 to 32767
    Bit value Code Description
    Bit 0 - 1 CALIbrating The device is calibrating.
    Bit 1 - 2 SETTling This bit is not used.
    Bit 2 - 4 RANGing This bit is not used.
    Bit 3 - 8 SWEeping The device is performing a sweep.
    Bit 4 - 16 MEASuring The device is performing a measurement.
    Bit 5 - 32 Waiting for TRIGger Summary The device is waiting for a trigger signal.
    Bit 6 - 64 Waiting for ARM Summary This bit is not used.
    Bit 7 - 128 CORRecting This bit is not used.
    Bit 8 - 256 Not used This bit is not used.
    Bit 9 - 512 REQuesting device lock The device lock is requested (the internal calibration is currently running).
    Bit 10 - 1024 LOCKing device The device is locked (in use).
    Bit 11 - 2048 Not used This bit is not used.
    Bit 12 - 4096 Not used This bit is not used.
    Bit 13 - 8192 INSTrument Summary A summary of the instruments register.
    Bit 14 - 16384 PROGram Running This bit is not used.
    Bit 15 - 32768 Not used This bit is not used.

    Sample usage

    • C#
    • Python

    Input:

    var visaSession = new TcpipSocket(VISA_RESOURCENAME);
    visaSession.RawIO.Write(":STAT:OPER:COND?\n");
    Console.WriteLine(visaSession.RawIO.ReadString());
    

    Input:

    response = visaSession.query(':STAT:OPER:COND?\n')
    print(response)
    

    Related commands

    :STATus:OPERation[:EVENt]?

    :STATus:OPERation:ENABle

    :STATus:OPERation:NTRansition

    :STATus:OPERation:PTRansition

    References

    The status registering model of a SCPI device

    Back to top Generated by DocFX