78
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
Considerations:
1)
The value of the data at the start and end points must first be set by the user, using the
:ARB:DATA command. For example, suppose a line needs to be drawn from address 1000 to 4000
with data point values 4000 and 8191 respectively like below:
To do this,
1. Set address to 1000 by sending ARB:ADDR 1000
2. Set data to 4000 by sending ARB:DATA 4000
3. Set address to 4000 by sending ARB:ADDR 4000
4. Set data to 8191 by sending ARB:DATA 8191
5. Then, use ARB:DRAW 1000,4000 to get the above line.
2) The range of the straight line cannot overlap with protected memory.
3) The end address must be greater than the start address.
ADDR 1000
ADDR 4000
DATA 4000
DATA 8191
Line to Draw