11.07.2015 Views

Agilent 33120A User's Guide

Agilent 33120A User's Guide

Agilent 33120A User's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4 Remote Interface ReferenceAn Introduction to the SCPI LanguageQuerying Parameter SettingsYou can query the current value of most parameters by adding aquestion mark ( ? ) to the command. For example, the followingcommand sets the output frequency to 5 kHz:"FREQ 5000"You can query the frequency value by executing:"FREQ?"You can also query the minimum or maximum frequency allowed withthe present function as follows:"FREQ? MIN""FREQ? MAX"SCPI Command TerminatorsA command string sent to the function generator must terminate witha character. The IEEE-488 EOI (end-or-identify) message isinterpreted as a character and can be used to terminate acommand string in place of a character. A followed by a is also accepted. Command string terminationwill always reset the current SCPI command path to the root level.IEEE-488.2 Common CommandsThe IEEE-488.2 standard defines a set of common commands thatperform functions like reset, self-test, and status operations. Commoncommands always begin with an asterisk ( * ), are four to five charactersin length, and may include one or more parameters. The commandkeyword is separated from the first parameter by a blank space. Use asemicolon ( ; ) to separate multiple commands as shown below:"*RST; *CLS; *ESE 32; *OPC?"214

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!