Programming Reference
5 Programming Reference
Introduction
The SCPI commands represent the instrument’s advanced analysis,
and pattern generation features that can be controlled from within
the remote programs.
Programming can only be done using raw Windows Sockets. The
remote programming language is close to SCPI, but it’s without a full
featured SCPI parser.
Thus N5980A is not SCPI1997 compliant.
The missing standard SCPI features:
Status handling/registers
Support of short and long form of SCPI commands (the
commands must be sent exactly like noted below)
No default suffixes.
Only a few of the standard commands (e.g. *OPC is missing)
The commands must always be complete, even for the second
parameter that belongs to the same root node inside a transaction.
Example:
SCPI allows: :SOUR1:PATT PRBS7;EADD ONCE
N5980A needs: :SOUR1:PATT PRBS7; :SOUR1:PATT:EADD
ONCE
See
Sample Code
as an example to control the N5980A from within a remote program.
Common Command Summary
*TST?
*OPC?
*RST
*IDN?
*OPT?
Agilent N5980A Command Summary
:FREQ?
:FREQ
:MMEM:STOR:STAT
:MMEM:LOAD:STAT
:SYST:ERR?
:SOUR1:PATT
:SOUR1:PATT?
:SOUR1:PATT:EADD
:SOUR1:PATT:EADD:RATE?
:SOUR1:PATT:EADD:RATE
30 N5980A User Guide