Algorithm:output:delay; Algorithm:output:delay <Delay - HP VXI 75000 C Series User's And Scpi Programming Manual

Algorithmic closed loop controller
Table of Contents

Advertisement

Usage
ALGorithm:OUTPut:DELay>
Parameters
Comments
Chapter 6
When Accepted: Before INIT only.
ALG:FUNC:DEF 'F1',8,12,< block_data >
ALGorithm:OUTPut:DELay < delay >
output phase.
Parameter
Parameter
Name
Type
delay
numeric (float32)
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 6-1). Also note that not all outputs will occur at the same time but will
take approximately 10usec 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 you set <delay> to less time than is required for the Input + Update +
Calculate ALG:OUTP:DELAY? will report the time you set, but the effect will
revert to the same that is set by ALG:OUTP:DELAY 0 (Output begins
immediately after Calculate).
When <delay> is AUTO, the delay is set to the worst-case time required to
execute phases 1 through 3. This provides the fastest execution speed while
maintaining a fixed time between trigger and the OUTPUT phase.
When you want to set the time from trigger to the beginning of OUTPUT, use
the following procedure. After defining all of your algorithms, execute:
ALG:OUTP:DEL AUTO
ALG:OUTP:DEL?
ALG:OUTP:DEL < minimum+additional >
Note that the delay value returned by ALG:OUTP:DEL? is valid only until
another algorithm is loaded. After that, you would have to re-issue the
ALG:OUTP:DEL AUTO and ALG:OUTP:DEL? commands to determine the
new delay that includes the added algorithm.
When Accepted: Before INIT only.
send range, offset and table values for
function F1
sets the delay from Scan Trigger to start of
Range of
Values
0 - .081 | AUTO (2.5µs resolution)
sets minimum stable delay
returns this minimum delay
additional = desired - minimum
HP E1415 Command Reference
ALGorithm
Default
Units
seconds
177

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vxi e1415a

Table of Contents