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 LanguageSCPI Parameter TypesThe SCPI language defines several different data formats to be used inprogram messages and response messages.Numeric Parameters Commands that require numeric parameterswill accept all commonly used decimal representations of numbersincluding optional signs, decimal points, and scientific notation. Specialvalues for numeric parameters like MINimum, MAXimum, and DEFaultare also accepted. You can also send engineering unit suffixes withnumeric parameters (e.g., Mhz or Khz). If only specific numeric valuesare accepted, the function generator will automatically round the inputnumeric parameters. The following command uses a numeric parameter:FREQuency {|MINimum|MAXimum}Discrete Parameters Discrete parameters are used to programsettings that have a limited number of values (like BUS, IMMediate,EXTernal). They have a short form and a long form just like commandkeywords. You can mix upper- and lower-case letters. Query responseswill always return the short form in all upper-case letters. The followingcommand uses discrete parameters:4SWEep:SPACing {LINear|LOGarithmic}Boolean Parameters Boolean parameters represent a single binarycondition that is either true or false. For a false condition, the functiongenerator will accept “OFF” or “0”. For a true condition, the functiongenerator will accept “ON” or “1”. When you query a boolean setting, theinstrument will always return “0” or “1”. The following command uses aboolean parameter:AM:STATe {OFF|ON}String Parameters String parameters can contain virtually any set ofASCII characters. A string must begin and end with matching quotes;either with a single quote or with a double quote. You can include thequote delimiter as part of the string by typing it twice without anycharacters in between. The following command uses a string parameter:DISPlay:TEXT 215

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

Saved successfully!

Ooh no, something went wrong!