SCPI Command Lists

Signal Generator Commands (SG6000):

Command Example 1 Example 2 Description
FREQ:CW FREQ:CW 400MHZ FREQ:CW 3.33GHZ Set output Frequency
FREQ:CW? Return current Frequency
OUTP:STAT OUTP:STAT ON OUTP:STAT OFF Turn on or off the RF output
OUTP:STAT? Return if output is enabled
POWER 9 -12.5 Set output power in dBm
POWER? Return current output power
VERNIER VERNIER 3 VERNIER -22 Fine tune the output power (no units)
VERNIER? Return vernier setting
*IDN? Return the SCPI identification string
*PING? returns “PONG!” if device is responding
SYST:ERR? Returns any pending error codes
*CLS Clears any error codes
SYST:DBG? Returns last debug status message
*RST Reset unit now
*INTREF? Is the internal reference enabled?
*EXTREF? Is an external reference signal detected?
*INTERNALREF 1 Set reference to internal
*INTERNALREF 0 Set reference to external (LD & LDQ only)
*INTERNALREF A Autodetect reference at power-on (LD & LDQ)
*DISPLAY *DISPLAY OFF *DISPLAY ON Power on of off the display
*BUZZER *BUZZER ON *BUZZER OFF Mute the buzzer
*SAVESTATE Save frequency & attenuation as boot defaults
*SYSVOLTS? Return internal USB voltage
*UNITNAME *UNITNAME Bob *UNITNAME DEV-34 Set a unique name in flash memory
*UNITNAME? Return this device’s name
CHANNEL CHANNEL 1 CHANNEL 2 Set the active channel to control
CHANNEL? Returns 1 or 2 depending on the active channel
SWE:MODE SWE:MODE SCAN Enters sweep mode & arms external sweep trigger
FREQ:START FREQ:START 1GHZ FREQ:START 99MHZ Sweep start frequency
FREQ:STOP FREQ:STOP 2GHZ FREQ:STOP 999MHZ Sweep stop frequency
LIST:DIR LIST:DIR UP LIST:DIR DOWN Sweep direction
SWE:POINTS SWE:POINTS 10 SWE:POINTS 900 Sweep point count
SWE:DWELL SWE:DWELL 25 SWE:DWELL 1000 Sweep dwell time in milliseconds
INIT:CONT INIT:CONT 0 INIT:CONT 1 Sweep continuous mode or single
INIT:IMM Trigger the sweep now
ABORT Stop the sweep now
SWE:ACTIVE? Is the device sweeping now
TRIG:STEP Mode where trigger command only advances 1 step
TRIG:SWEEP Trigger command will execute entire sweep (default)

For Programmable Attenuators (DAT64)

  • ATT x       /* Set attenuation level (Example: “POW:ATT 33.5”) */

Notes:

  1. SCPI = Standard Commands for Programmable Instruments
DS Instruments 2015 SCPI Command List (V1.2)