ALGorithm
Usage
ALGorithm[:EXPLicit][:STATe]?
Parameters
Comments
ALGorithm[:EXPLicit]:TIME?
Parameters
Comments
248 VT1422A Command Reference
•
When Accepted: Both before and after INIT. Also accepted before and after
the algorithm referenced is defined.
•
Related Commands: ALG:UPDATE, ALG:STATE?, ALG:DEFINE
•
Send with VXIplug&play Function: hpe1422_cmd(...)
ALG:STATE 'ALG2',OFF
ALGorithm[:EXPLicit][:STATe]?'<alg_name>'
disabled) of algorithm <alg_name>.
Parameter
Parameter
Name
Type
alg_name
string
•
Since ALG:STATE is valid for an undefined algorithm, ALG:STATE? will
return the current state for <alg_name> even if it is not currently defined.
•
Returned Value: Numeric, 0 or 1. Type is uint16.
•
*RST Condition: ALG:STATE 1
•
Send with VXIplug&play Function: hpe1422_cmdInt16_Q(...)
ALGorithm[:EXPLicit]:TIME? '<alg_name>'
execution time estimate in seconds.
Parameter
Parameter
Name
Type
alg_name
string
•
When <alg_name> is ALG1 through ALG32, ALG:TIME? returns only the time
required to execute the algorithm's code.
•
When <alg_name> is 'MAIN', ALG:TIME? returns the worst-case execution
time for an entire measurement & control cycle (sum of MAIN, all enabled
algorithms, analog and digital inputs and control outputs).
•
If triggered more rapidly than the value returned by ALG:TIME? 'MAIN',
the VT1422A will generate a "Trigger too fast" error.
disable ALG2
returns the state (enabled or
Range of
Values
ALG1 - ALG32
computes and returns a worst-case
Range of
Values
ALG1 - ALG32 or MAIN
Default
Units
none
Default
Units
none
Chapter 7