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

69
Response: NR1
4.13.4.3 Data
:ARBitrary: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
Example :ARB:DATA 100,200,1000,2000,-2000
Arbitrary Block: :ARBitrary: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?
Note:
The
For example, if
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
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
Example:
:ARB:DRAW 1,1000