beautypg.com

Parameter types – Agilent Technologies N5700 User Manual

Page 62

background image

SCPI Commands – an Introduction

62

Series N5700 User’s Guide

Parameter Types

Data programmed or queried from the power supply is ASCII. The
data may be numerical or character string.

Numeric Parameters

Symbol Response

Formats

Digits with an implied decimal point assumed at the right of the
least-significant digit. Examples: 273

Digits with an explicit decimal point. Example: .0273

Digits with an explicit decimal point and an exponent. Example:
2.73E+2

Parameter Formats

Extended format that includes , and .
Examples: 273 273. 2.73E2

Expanded decimal format that includes and MIN
MAX. Examples: 273 273. 2.73E2 MAX.
MIN and MAX are the minimum and maximum limit values that
are implicit in the range specification for the parameter.

Boolean Data. Example: 0 | 1 or ON | OFF

Discrete and String Parameters

Symbol Response

Formats

None

Discrete parameters are used to program settings that have a limited
number of values (like RST, RCL0, BUS). You can mix upper- and
lower-case letters. Query responses will always return the short form
in all upper-case letters

“string”

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 a double quote. You can include the quote delimiter as part of
the string by typing it twice without any characters in between.

Suffixes and Multipliers

Class

Suffix

Unit

Unit with Multiplier

Current A

ampere MA

(milliampere)

Amplitude V

volt

MV

(millivolt)

Time S

second MS

(millisecond)

Common Multipliers
1E3 K kilo
1E-3 M milli
1E-6 U micro