Algorithm[:Explicit]:Array; Algorithm[:Explicit]:Array <Alg_Name>,<Array_Name>,<Block_Data - HP E1419A User Manual

Measurement and control module
Table of Contents

Advertisement

ALGorithm[:EXPLicit]:ARRay

NOTE
Parameters
Comments
Chapter 6
ALGorithm[:EXPLicit]:ARRay <alg_name>,<array_name>,<array_block> places
values of <array_name> for algorithm <alg_name> into the Update Queue. This
update is then pending until ALG:UPD is sent or an update event (as set by
ALG:UPD:CHANNEL) occurs.
ALG:ARRAY places a variable update request in the Update Queue. You can 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.
Parameter
Parameter
Name
Type
alg_name
string
array_name
string
array_block
block data
To send values to a Global array, set the <alg_name> parameter to "GLOBALS".
To define a global array see the ALGorithm:DEFine command.
An error is generated if <alg_name> or <array_name> is not defined.
When an array is defined (in an algorithm or in 'GLOBALS'), the HP E1419
allocates twice the memory required to store the array. When you send the
ALG:ARRAY command, the new values for the array are loaded into the second
space for this array. When you send the ALG:UPDATE, or
ALG:UPDATE:CHANNEL commands, the HP E1419 switches a pointer to the
space containing the new array values. This is how even large arrays can be
"updated" as if they were a single update request. If the array is again updated, the
new values are loaded into the original space and the pointer is again switched.
<progname> is not case sensitive. However, <array_name> is case sensitive.
Related Commands: ALG:DEFINE, ALG:ARRAY?
*RST Condition: No algorithms or variables are defined.
Range of
Values
ALG1 - ALG32 | GLOBALS
valid 'C' variable name
block of IEEE-754 64-bit floating point
numbers
HP E1419 Command Reference 191
ALGorithm
Default
Units
none
none
none

Advertisement

Table of Contents
loading

Table of Contents