Specifications

·
An error is generated if <alg_name>or<var_name> is not defined.
·
Related Commands: ALG:DEFINE, ALG:SCAL?
·
*RST Condition: No algorithms or variables are defined.
Usage ALG:SCAL ‘ALG1’,’my_var’,1.2345 1.2345 to variable my_var in ALG1
ALG:SCAL ‘ALG1’,’another’,5.4321 5.4321 to variable another also in ALG1
ALG:SCAL ‘ALG3’,’my_global_var’,1.001 1.001 to global variable
ALG:UPD update variables from update queue
ALGorithm[:EXPLicit]:SCALar?
ALGorithm[:EXPLicit]:SCALar? <alg_name>,<var_name> returns the value of
the scalar variable <var_name> in algorithm <alg_name>.
Parameters
Parameter
Name
Parameter
Type
Range of
Values
Default
Units
alg_name string ALG1 - ALG32 none
var_name string valid ‘C’ variable name none
Comments
·
An error is generated if <alg_name>or<var_name> is not defined.
·
Returned Value: numeric value. The type is float32.
ALGorithm[:EXPLicit]:SCAN:RATio
ALGorithm[:EXPLicit]:SCAN:RATio <alg_name>,<num_trigs> specifies the
number of scan triggers that must occur for each execution of algorithm
<alg_name>. This allows the specified algorithm to be executed less often than
other algorithms. This can be useful for algorithm tuning.
NOTES 1. The command ALG:SCAN:RATio <alg_name>,<num_trigs> does not take
effect until an ALG:UPDATE or ALG:UPD:CHAN command is received. This
allows multiple ALG:SCAN:RATIO commands to be sent with a synchronized
affect when the ALG:UPDATE command is used.
2. ALG:SCAN:RATio places a variable update request in the Update Queue. Do
not place more update requests in the Update Queue than are allowed by the
current setting of ALG:UPD:WINDOW or a “Too many updates — send
ALG:UPDATE command” error message will be generated.
VT1419A Command Reference
ALGorithm
Chapter 6 193
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com