3 data, 4 line draw – B&K Precision 4079 - Manual User Manual

Page 75

Advertising
background image

69

Response: NR1

4.13.4.3 Data

:ARBitrary:DATA <data>

This command is used to set the values of the waveform.

Arguments

Type:

Numeric. Definite form arbitrary block. Indefinite form arbitrary block

Numeric Range: -8191 to 8191 ASCII

Rounding: to integer value

Binary Range: 001H to 3FFFH BINARY

Command Type: Setting or Query

Setting Syntax

Numeric: :ARBitrary:DATA<ws><numeric>{[,<numeric>]}

Example :ARB:DATA 100,200,1000,2000,-2000

Arbitrary Block: :ARBitrary:DATA<ws>#<arb block data>

Refer to section 4.16

Examples

Definite Form: :ARB:DATA #14\x8\x64\x8\xC8

‘\x’ indicates that the values are Hexadecimal.

Indefinite:

:ARB:DATA #0\x8\x64\x8\xc8\xa^EOI

Query

Syntax:

:ARBitrary:DATA?<ws><number of points>, BINary|ASCii

Note:

The <number of points> that the query returns starts from the current address.

For example, if <number of points> is set as 5, and address is 1000, it will return data point

values in address 1000, 1001, 1002, 1003, and 1004. The address will then point to 1005 after

the query.

Response: Using the BINary option, data are returned in the Indefinite arbitrary block form.

Using the ASCii option, data are returned in the decimal numeric form.

Considerations:

1) Data cannot be written to protected memory.

2) In binary form, each data point consists of two bytes.

3) The high byte must precede the low byte.

4) When using ARB:DATA to generate data points, the address will increment based on the number of points set. For example,

suppose the current address is 1. The command ARB:DATA 100,200,300 is sent. The address becomes 4 after this

command. To query these data points immediately using ARB:DATA? command as described above, the address must be

reset back to 1 using ARB:ADDR command prior to the query.

4.13.4.4 Line Draw

:ARBitrary:DRAW <start address>,<end address>

This command is used to generate a straight line between two points in the arbitrary waveform memory.

Arguments

Type:

Numeric.

Range:

1 to 4,000,000

Rounding:

to integer value

Command Type: Setting only

Setting

Syntax:

:ARBitrary:DRAW<ws><start address>,<end address>

Example:

:ARB:DRAW 1,1000

Advertising
This manual is related to the following products: