Agilent Technologies N5700 User Manual

Page of 128
SCPI Programming Commands – At a Glance. 
16 
Series N5700 User’s Guide  
SCPI Command 
Description 
STATus  
 
    :OPERation 
 
           [:EVENt]? 
Returns the value of the operation event register 
           :CONDition? 
Returns the value of the operation condition register 
           :ENABle <NRf> 
Enables specific bits in the Event register 
           :NTRansition<NRf> 
Sets the Negative transition filter 
           :PTRansition<NRf> 
Sets the Positive transition filter 
    :PRESet 
Presets all enable and transition registers to power-on 
    :QUEStionable 
 
           [:EVENt]? 
Returns the value of the questionable event register 
           :CONDition? 
Returns the value of the questionable condition register 
           :ENABle <NRf> 
Enables specific bits in the Event register 
           :NTRansition<NRf> 
Sets the Negative transition filter 
           :PTRansition<NRf> 
Sets the Positive transition filter 
 
 
SYSTem  
    :COMMunicate 
 
           :RLSTate LOCal | REMote | RWLock 
Specifies the Remote/Local state of the instrument 
    :ERRor? 
Returns the error number and error string 
    :VERSion? 
Returns the SCPI version number 
 
 
TRIGger  
 
    :SOURce BUS 
Sets the measurement trigger source 
    [:TRANsient][:IMMediate] 
Generates a transient trigger 
 
 
Common Commands 
Command Description 
*CLS Clear 
status 
*ESE <NRf> 
Standard event status enable 
*ESE? 
Return standard event status enable 
*ESR? 
Return event status register 
*IDN? 
Return instrument identification 
*OPC 
Enable "operation complete" bit in ESR 
*OPC? 
Return a "1" when operation complete 
*OPT? 
Return option number 
*RCL <NRf> 
Recalls a saved instrument state 
*RST Reset 
*SAV <NRf> 
Saves an instrument state 
*SRE <NRf> 
Set service request enable register 
*SRE? 
Return service request enable register 
*STB? 
Return status byte 
*TRG Trigger 
*TST 
Performs self-test, then returns result 
*WAI 
Holds off bus until all device commands done