beautypg.com

3 data – B&K Precision 4078 - Manual User Manual

Page 72

background image

This command sets the current address of the waveform. It is used to determine where arbitrary data are to be
written. Use this command when querying data points using ARB:DATA? After generating data points.

Arguments
Type:

Numeric

Range:

1 to 400,000

Rounding:

to integer value

Command Type: Setting or Query
Setting
Syntax:

:ARBitrary:ADDRess

:ARBitrary:ADDRessMINimum|MAXimum

Examples:

:ARB:ADDR 100

Query
Syntax:

:ARBitrary:ADDRess?[MINimum|MAXimum]

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?, BINary|ASCii

Note:

The that the query returns starts from the current address.

For example, if 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.



This manual is related to the following products: