% Example text file containing SCPI commands

% device info request
*IDN?

% set frequency
FREQ 1 GHz; *OPC?

% set output power
POW 7.3 dBm; *OPC?

% activate output and check state
OUTP:STAT ON; *OPC?
OUTP:STAT?

% check for errors
SYST:ERR?
