beautypg.com

GW Instek APS-1102A User Manual User Manual

Page 198

background image

APS-1102A User Manual

APS-1102A

6-14

b) SCPI data format

All command messages and acknowledge messages sent to the APS-1102A are in “ASCII” format.

Table6-12. Numerical Value Data Format

Symbol

Data Format

Numerical values without a decimal point (decimal position is to the right of the
smallest digit in value) Example: 273

Numerical value with an explicit decimal point Example: .0273

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

Boolean value (logical value) Example: 0 | 1 or ON | OFF

Table6-13. Character Data Format

Symbol

Data Format

Character format Example: SIN

Character format with double quotations Example: “No error”

 Binary block data format

The binary block data format is shown in Figure 6-1.

Figure 6-1. Binary Block Data

The “non-zero numeral” element value indicates the number of “numeral” elements that follow

afterward. The “numeral” element value indicates the number of “8-bit data byte” elements that

follow afterward.

For example, the format is as follows when sending four of the 8-bit data byte .

#14

c) Common commands

The common commands are used to provide overall control of device functions, such as device reset

and status monitoring. These common commands have three-letter names that start with an asterisk

(*).

Non-zero
numerals

Numerals

8-bit data byte