beautypg.com

2 command syntax, 1 commands and command parameters – B&K Precision 5492BGPIB - Manual User Manual

Page 63

background image

SCPI Command Reference

63

6.2 Command Syntax

6.2.1 Commands and command parameters

Common commands and SCPI commands may or may not use a parameter. The following are some

examples:

*RST No parameter used

:FORMat Parameter required

:IMMediate No parameter used

For commands that use a parameter, include a space in between the command and the parameter.

 Brackets [ ]: Some command words are enclosed in brackets. These brackets are used to denote

an optional command word that does not need to be included in the program message. For

example:

:RANGe[:UPPer]

These brackets indicate that :UPPer is optional and does not have to be used. Thus, the above

command can be sent in one of the two ways below:

:RANGe

or :RANGe:UPPer

NOTICE: When using optional command words in your program, do not include the

brackets.

 Angel brackets <>: Angle brackets are used to denote a parameter type. Do not include the

brackets in the program message. For example:

:HOLD:STATe

The indicates that a Boolean-type parameter is required. Thus, to enable the HOLD feature,

you must send the command with ON or 1 parameter as below:

:HOLD:STATe ON

or :HOLD:STATe 1

 Parameter types: The following are some of the more common parameter types:

Boolean: Used to enable or disable an instrument operation.

“0” or “OFF” disables the

operation and

“1” or “ON” enables the operation. Example:

:CURRent:AC:RANGe:AUTO ON

Enable autoranging

Name parameter: Select a parameter name from a listed group. Example:

This manual is related to the following products: