4 line draw, 5 clear – B&K Precision 4078 - Manual User Manual
Page 73

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 400,000
Rounding:
to integer value
Command Type: Setting only
Setting
Syntax:
:ARBitrary:DRAW
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 2000
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.
4.13.4.5 Clear
:ARBitrary:CLEar
This command is used to clear all or a portion of waveform memory. The memory is the set to the value zero.
Arguments
Type:
Numeric.
Numeric Range: 1 to 400,000
Rounding:
to integer value
Command Type: Setting only.
Setting
Syntax:
:ARBitrary:CLEar
Examples:
:ARB:CLE 1,1000
Considerations:
1) The clear range cannot overlap with protected memory.
ADDR 1000
ADDR 2000
DATA 4000
DATA 8191
Line to Draw