Agilent Technologies 6812B SCPI Data Formats, Numerical Data Formats, Suffixes and Multipliers

Models: 6811B 6813B 6834B 6843A 6814B

1 187
Download 187 pages 38.86 Kb
Page 23
Image 23
SCPI Data Formats

Introduction to Programming - 2

SCPI Data Formats

All data programmed to or returned from the ac source is ASCII. The data may be numerical or character string.

Numerical Data Formats

Symbol

<NR1>

<NR2>

<NR3>

<Bool>

<Nrf>

<Nrf+>

<Bool>

Data Form

Talking 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

Boolean Data. Example: 0 1 or OFF ON (0 = OFF; 1 = ON)

Listening Formats

Extended format that includes <NR1>, <NR2> and <NR3>. Examples: 273273. 2.73E2

Expanded decimal format that includes <NRf> and MINMAX. Examples: 273 73.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

Suffixes and Multipliers

Class

Suffix

Unit

Unit with Multiplier

Current

A

ampere

MA (milliampere)

Amplitude

V

volt

MV (millivolt)

Time

S

second

MS (millisecond)

Frequency

HZ

Hertz

KHZ (kilohertz)

 

Common Multipliers

 

1E3

 

K

kilo

1E-3

 

M

milli

1E-6

 

U

micro

Character Data

Character strings returned by query statements may take either of the following forms, depending on the length of the returned string:

<CRD> Character Response Data. Permits the return of character strings.

<AARD> Arbitrary ASCII Response Data. Permits the return of undelimited 7-bit ASCII. This data type has an implied message terminator.

<SRD> String Response Data. Returns string parameters enclosed in double quotes.

23

Page 23
Image 23
Agilent Technologies 6812B, 6834B manual SCPI Data Formats, Numerical Data Formats, Suffixes and Multipliers, Character Data