Programming Reference

5Programming 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

Page 30
Image 30
Agilent Technologies manual Common Command Summary, Agilent N5980A Command Summary