SCPI Command Reference

Parameter Types

Parameter Types

Several different data types are defined for use in program messages and response messages.

Boolean Boolean parameters are single binary conditions such as 1 and 0, or ON and OFF. Parameters The following is an example of a command that uses Boolean parameters:

SYST:COMM:GPIB:PONS {ONOFF10}

Discrete Discrete parameters are used when program settings have a limited number of Parameters values. If you query a discrete parameter, the response will always be in the short

form with all uppercase letters. The following is an example of a command that uses discrete parameters:

TRIG:SOUR {BUSEXTIMMNONE}

Numeric Numeric parameters are number representations such as decimal points, optional Parameters signs, and scientific notation. Values such as MINimum and MAXimum are

accepted as substitutes for numbers. When DEFault is provided as a parameter, the machine selects the default value automatically. You can also use engineering unit suffixes such as, V, A, or W with numeric parameters. In cases where specific numeric values are accepted, the power unit will round the input parameters. The following is an example of a command that uses numeric parameters:

VOLT:PROT {<voltage>MAXMIN}

String String parameters are used when a series of ASCII characters is required. Strings Parameters must be enclosed within single or double quotations. The beginning and ending

quotation marks must be matching. Quote delimiters may be included in the string by typing the quotation marks twice without any characters in between. The following is an example of a command that uses string parameters:

CAL:STAT ON, “0000”

Release 3.0

197

Page 199
Image 199
Xantrex Technology XDC manual Parameter Types, Voltprot voltageMAXMIN, Calstat on