250 VT1422A Command Reference Chapter 7
ALGorithm
The <range> and <offset> parameters define the allowable input values to the
function (domain). If values input to the function are equal to or outside of
(±<range>+<offset>), the function may return ±INF in IEEE-754 format.
For example; <range> = 8 (-8 to 8), <offset> = 12. The allowable input values
must be greater than 4 and less than 20.
<func_data> is a 512 element array of type uint16.
The algorithm syntax for calling is: <function_name> ( <expression> ). for
example:
O116 = squareroot( 2 * Input_val );
Functions must be defined before defining algorithms that reference them.
When Accepted: Before INIT only.
Usage ALG:FUNC:DEF 'F1',8,12,<block_data>send range, offset and table values for
function F1
Use VXIplug&play function: hpe1422_sendBlockUInt16(...)

ALGorithm:OUTPut:DELay

ALGorithm:OUTPut:DELay <delay> sets the delay from Scan Trigger to start of
output phase.
Parameters

Comments The algorithm output statements (e.g., O115 = Out_val) DO NOT program

outputs when they are executed. Instead, these statements write to an
intermediate Output Channel Buffer which is read and used for output AFTER
all algorithms have executed AND the algorithm output delay has expired
(see Figure 7-1). Also note that not all outputs will occur at the same time
but will take approximately 10 µs per channel to write.
When <delay> is 0, the Output phase begins immediately after the Calculate
phase. This provides the fastest possible execution speed while potentially
introducing variations in the time between trigger and beginning of the Output
phase. The variation can be caused by conditional execution constructs in
algorithms or other execution time variations.
If <delay> is set to less time than is required for the Input + Update + Calculate,
ALG:OUTP:DELAY? will report the set time, but the effect will revert to the
same that is set by ALG:OUTP:DELAY 0 (Output begins immediately after
Calculate).
Parameter
Name Parameter
Type Range of
Values Default
Units
delay numeric (float32) 0 - .081 | AUTO (2.5 μs resolution) seconds