beautypg.com

BNC 1105 Universal Counter User Manual

Page 105

background image

105

105

105

105

keyword is separated from the first parameter by a blank space. Use a

semicolon (;) to separate multiple commands as shown below:

*RST; *CLS; *ESE 32; *OPC?

SCPI Parameter Types
The SCPI language defines several different data formats to be used in
program messages and response messages.

Numeric Parameters Commands that require numeric parameters will
accept all commonly used decimal representations of numbers including
optional signs, decimal points, and scientific notation.

Discrete Parameters Discrete parameters are used to program
settings that have a limited number of values (like IMMediate, EXTernal).
They have a short form and a long form just like command keywords.
You can mix upper- and lower-case letters. Query responses will always
return the short form in all upper-case letters. The following command
uses discrete parameter:

:INITiate[:IMMediate]

Boolean Parameters Boolean parameters represent a single binary
condition that is either true or false. For a false condition, the universal
counter will accept “OFF” or “0”. For a true condition, the universal
counter will accept “ON” or “1”. When you query a boolean setting, the
instrument will always return “0” or “1”. The following command uses a
boolean parameter:

INPut:IMPedance:AUTO OFF|ON

String Parameters String parameters can contain virtually any set of
ASCII characters. A string must begin and end with matching quotes;
either with a single quote or with a double quote. You can include the
quote delimiter as part of the string by typing it twice without any
characters in between. The following command uses a string parameter: