9 predefined waveforms – B&K Precision 4078 - Manual User Manual
Page 75

Example:
:ARB:PROT:STAT ON
Query
Syntax:
:ARBitrary:PROTect:STATe?
Response:
0|1
4.13.4.9 Predefined Waveforms
:ARB:PRED <shape>,<start address>,<length>,<scale>
This command is used to load the waveform memory with a specific type of waveform.
Arguments
Shape
Type:
Character
Options:
SINusoid
SQUare
TRIangle
NOISe (Pseudo-Random Noise)
ANOise (Noise added to the current waveform)
Start Address
Type:
Numeric. The MIN and MAX forms both set the address to 1
Range:
1 to 400,000
Rounding:
to integer value
Length
Type:
Numeric.
Range
SIN:
16 to 65,536; divisible by 4
SQU:
2 to 65,536; divisible by 2
TRI:
16 to 65,536; divisible by 4
NOIS:
16 to 65,536
ANO:
16 to 65,536
Rounding:
to integer value.
Scale
Type:
Numeric. MIN sets the scale to 1; MAX sets the scale to 100
Range:
1 to 100 (See considerations)
Rounding;
to integer value.
Command Type: Setting only
Setting
Syntax:
:ARBitrary:PREDefined<ws> <shape>, <start>, <length>,<scale>
Examples:
:ARB:PRED SIN,1,1e3,100
Considerations:
1) The start address and the length must meet the specification that. Start address + Length - 1
≤ 131,072
2) The 'scale' refers to the scaling of the waveform as a percentage of full scale. A scale of 100% will, under the
correct conditions, generate a waveform whose data values range from -8191 to +8191. These 'correct conditions'
are set by the 'offset' value. This offset is the value of the data at the start address, and determines the maximum
scale settable. The following table shows the data values required in order to achieve maximum scale.
SHAPE
DATA
SIN
0
SQU
0
TRI
0
NOIS
0