Specifications

send array values to the global array glob_array
ALG:ARR ‘GLOBALS’,’glob_array’,<block_array_data>
ALG:UPD force update of variables
ALGorithm[:EXPLicit]:ARRay?
ALGorithm[:EXPLicit]:ARRay? <alg_name>,<array_name> returns the
contents of <array_name> from algorithm <alg_name>. ALG:ARR? can return
contents of global arrays when <alg_name> specifies ‘GLOBALS’.
Parameters
Parameter
Name
Parameter
Type
Range of
Values
Default
Units
alg_name string ALG1 - ALG32 | GLOBALS none
array_name string valid ‘C’ variable name none
Comments
·
An error is generated if <alg_name>or<array_name> is not defined.
·
Returned Value: Definite length block data of IEEE-754 64-bit float
ALGorithm[:EXPLicit]:DEFine
ALGorithm[:EXPLicit]:DEFine ‘<alg_name>’,[<swap_size>,] ‘<source_code>’
is used to define control algorithms and global variables.
Parameters
Parameter
Name
Parameter
Type
Range of
Values
Default
Units
alg_name string ALG1 - ALG32 | GLOBALS none
swap_size numeric (uint16) 0 - Max Available Algorithm Memory words
source_code string or block data
see Comments
algorithm source none
Comments
·
The <alg_name> must be one of ALG1, ALG2, ALG3, etc. through ALG32 or
GLOBALS. The parameter is not case sensitive. ‘ALG1’ and ‘alg1’ are equivalent
as are ‘GLOBALS’ and ‘globals.’
·
The <swap_size> parameter is optional. Include this parameter with the first
definition of <alg_name> if it will be changed later while it is running. The value
can range up to about 23k words (ALG:DEF will then allocate 46k words as it
creates two spaces for this algorithm).
VT1419A Command Reference
ALGorithm
188 Chapter 6
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com