Agilent Technologies 86100-90086 Sprinkler User Manual


 
12-2
Function Commands
Function Commands
The FUNCtion subsystem defines up to four functions: 1 through 4. The function is indicated
in the FUNCtion<N> syntax, for example FUNCtion1. Use the following commands (math
operators) to define a funtion: ADD, DIFF, INVert, MAGNify, MAXimum, MINimum, MULTiply, PEELing,
SUBTract, and VERSus. The functions operands can be any of the installed channels, waveform
memories (1 through 4), functions (1 through 4), or a constant and have the following char-
acteristics:
If a channel is not on but is used as an operand, then that channel will acquire waveform data.
If the source waveforms have different record lengths, the function is performed over the
shorter record length. The instrument finds the nearest point in the longer waveform record
that corresponds to the current point in the shorter record. It then performs math functions
on those points and skips non-corresponding points in the longer record.
If the two sources have the same time base scale, the resulting function has the same time
scale which results in the same time base scale for the function. If the sources cover two dif-
ferent time intervals, the function is performed on the portion of the sources that overlap. If
the sources don't overlap, the function cannot be performed.
If the operands have different time scales, the resulting function has no valid time scale. This
is because operations are performed based on the displayed waveform data position, and the
time relationship of the data records cannot be considered. When the time scale is not valid,
delta time pulse parameter measurements have no meaning, and the unknown result indicator
is displayed on the screen.
Numeric constant sources have the same horizontal scale as the associated waveform source.
You can use a function as a source for another function subject to the following constraints:
F4 can have F1, F2, or F3 as a source.
F3 can have F1 or F2 as a source.
F2 can have F1 as a source.
F1 cannot have any other function as a source.
Use the RANGe and OFFSet commands in this subsystem control the vertical scaling and off-
set. Use the HORizontal:RANge and HORizontal:POSition queries to obtain horizontal scaling
and position values.