• 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

    :SYSTem:LOCK:REQuest

    Description

    This command attempts to attain the lock for all clients and returns 1 if successful and 0 if it fails. The request fails if for example BAS is already locking the device.

    Granting a lock sets Bit 10 in the Standard Operation Register STATus:OPERation:CONDition. The locking proccess can take a longer time, when the internal calibration needs to be performed first, therefore also Bit 9 is set during attempting to grant the lock.

    If no lock is requested by :SYSTem:LOCK:REQuest the lock will be requested automatically by the calling command or query.

    Some commands do NOT require a locked device and therfore NOT requesting a lock when being executed:

    Commands not requiring lock Comment
    *ESE Command and query
    *IDN? Query
    *OPC Command and query
    *SRE Command and query
    *STB? Query
    *WAI Command
    :FORMat:DATA Command and query
    :MMEMory:CATalog:CORRection? Query
    :MMEMory:DELete:CORRection Command
    :STATus:OPERation:CONDition? Query
    :SYSTem:ERRor? Query
    :SYSTem:ERRor:COUNt? Query
    :SYSTem:LOCK:OWNer? Query
    :SYSTem:LOCK:RELease Command
    :SYSTem:LOCK:REQuest? Query
    Caution

    It is higly recommended to start your measuring procedure by calling :SYSTem:LOCK:REQuest otherwise you may get some unexpected side effects. All commands requiring a lock (not part of the table above) will request a lock automatically but mostly fail with a Execution error (nr. -100 Device not ready) at the beginning until the device enters the Locking device state signalled in the Standard Operation Register.

    Important

    If no client has a conection to the SCPI server locking is released automatically.

    Important

    If locking is not possible a Not allowed error (nr. 514) is raised.

    • Query
    Syntax Response
    :SYSTem:LOCK:REQuest { 1 | 0 }
    Response value description
    { 1 | 0 } Returning 1 when the lock is granted. The lock is denied otherwise.

    Related commands

    :SYSTem:LOCK:REQuest

    :SYSTem:LOCK:RELease

    :SYSTem:LOCK:OWNer

    Back to top Generated by DocFX