beautypg.com

4 hierarchical command structure – BNC 7000 Series Programmer Manual User Manual

Page 17

background image

17

Units In the case of physical quantities, the unit can be entered. Permissible unit prefixes are G (giga),

MA (mega), MHZ are also permissible), K (kilo), M (milli), U (micro) and N (nano). If the unit is missing,

the basic unit is used.

Boolean Parameters Boolean parameters represent two states. The ON state (logically true) is

represented by ON or a numerical value unequal to 0. The OFF state (logically false) is represented by

OFF or the numerical value 0. ON or OFF is returned by a query.

4.4 Hierarchical Command Structure

All SCPI commands, except the common commands, are organized in a hierarchical structure similar

to the inverted tree file structure used in most computers. The SCPI standard refers to this structure as

“the Command Tree.” The command keywords that correspond to the major instrument control

functions are located at the top of the command tree. The command keywords for the SERIES 7000

SCPI command set are shown below.


:ABORt

:CALCulate

The purpose of the CALCulate block is to convert or derive sensed data into a form more useful to the

application. Typical calculations include converting units, and postprocessing calculations (for

example, calculation of jitter of a phase noise trace). The CALCulate commands are described in the

CALCulate subsystem.

:DIAGnostic

:INPut

The purpose of the INPut block is to condition the incoming signal before it is converted intodata by

the SENSe block. INPut block functions include filtering, biasing, frequency conversion (such as a

mixer or prescaler function), and attenuation. The INPut block appears in the SCPI tree under the

INPut subsystem. The implementation of this subsystem is optional for those instruments that have no

INPut block characteristics.

:INITiate

:SENSe

The purpose of the SENSe block is to convert signal(s) into internal data that can be

manipulated by normal computer techniques. The commands associated with the SENSe

block control the various characteristics of the conversion process. Examples are range,

resolution, gate time, normal mode rejection, etc. This block does not include any

mathematical manipulation of the data after it has been converted

Berkeley Nucleonics Corporation 2955 Kerner Blvd., San Rafael, CA 94901

Phone: 415-453-9955, Fax: 415-453-9956, Email: [email protected], Web: www.berkeleynucleonics.com