Specifications

ALGorithm:UPDate:WINDow
ALGorithm:UPDate:WINDow <num_updates> specifies the number of updates
that will be performed during phase 2 (UPDATE). The DSP will process this
command and assign a constant window of time for UPDATE.
Parameters
Parameter
Name
Parameter
Type
Range of
Values
Default
Units
num_updates numeric (int16) 1 - 512 none
Comments
·
The default value for <num_updates> is 20. If it is known that fewer updates will
be needed, specifying a smaller number will result in slightly faster loop
execution speeds.
·
This command creates a time interval in which to perform all pending algorithm
and variable updates. To keep the loop times predictable and stable, the time
interval for UPDATE is constant. That is, it exists for all active algorithms, each
time they are executed whether or not an update is pending.
·
*RST Condition: ALG:UPD:WIND 20
·
When Accepted: Before INIT only.
Usage It is decided that a maximum of eight variables per execution of ALG:UPDATE will
need to be updated.
ALG:UPD:WIND 8
NOTES 1. When the number of update requests exceeds the Update Queue size set with
ALG:UPD:WINDOW by one, the module will refuse the request and will issue
the error message “Too many updates in queue. Must send UPDATE
command”. Send ALG:UPDATE, then re-send the update request that caused
the error.
2. The “Too many updates in queue…” error can occur before the module is
INITialized. It’s not uncommon with several algorithms defined, to have more
variables that need to be pre-set before INIT than will be changed in one update
after the algorithms are running. INIT may need to be sent with updates
pending. The INIT command automatically performs the updates before starting
the algorithms.
VT1419A Command Reference
ALGorithm
202 Chapter 6
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com