Agilent Technologies manual Common Command Summary, Agilent N5980A Command Summary

Page 30

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

Image 30
Contents Agilent 125 Gb/s Serial Bert Revision 1.0 May Herrenberger StrSafety Summary Environmental Information Contents Programming Reference Introduction CD content is Inspect ShipmentSerial Bert Connect the Instrument Front PanelRear Panel To Connect N5980AInstall User Software for N5980A Serial Bert setup diagramTo Install the User Software for N5980A Select the folder in which N5980A will be saved To Access N5980A Demo Offline Advanced Mode IntroductionRunning the BER Test Setting the Instrument Parameters SetupAdvanced Viewing the Results BER displays Gating BER and the Elapsed Gating TimeAdvanced Mode Store SettingFile Menu Connection Menu Connect Each PC can control only one N5980AError Indicators Help MenuInfo Error BER BarSync Loss Setup and Advanced Tab GeneralGenerator SFP Data Pattern Error DetectorInput SMA Data PatternBER and Advanced BER Tab Gating BER BarError Detector Pattern Gating ErrorsActual Errors Advanced BERCommon Command Summary Agilent N5980A Command SummaryScpi Instrument Command List- Reference Common CommandsID Query Operation complete Read error queueLoad factory default setting Option QueryAll Channels Store current settingRecall setting DatarateSOUR1PATT SMA Output Electrical GeneratorPattern Either sets or gets the pattern of the SMA outputInsertion Rate Error InsertionAdd Single Error Output LevelSFP Output Optical Generator SOUR2PATTEither sets or gets the pattern of the SFP output SOUR2PATTEADDRATE SOUR2PATTEADD OnceSyntax SOUR2PATTEADD Once SOUR3PATT Trigger OutputDetected Pattern SENS1PATT?Synchronization mode Actual Bit Error RateActual Number of Errors Gating Time Gating Bit Error RateGating Number of Errors Start GatingInput Selection Description Selects the input for the error detectorGating Progress SENS1INPSample Code Communicate with the instrument Programming Reference