Algorithm[:Explicit]:Array; Algorithm[:Explicit]:Define; Algorithm[:Explicit]:Array? '<Alg_Name>','<Array_Name; Algorithm[:Explicit]:Define '<Alg_Name>',[<Swap_Size>,] '<Source_Code - HP VXI 75000 C Series User's And Scpi Programming Manual

Algorithmic closed loop controller
Table of Contents

Advertisement

ALGorithm[:EXPLicit]:ARRay?

Parameters
Comments

ALGorithm[:EXPLicit]:DEFine

Parameters
Comments
Chapter 6
ALGorithm[:EXPLicit]:ARRay? '< alg_name >','< array_name >'
contents of <array_name> from algorithm <alg_name>. ALG:ARR? can return
contents of global arrays when <alg_name> specifies 'GLOBALS'.
Parameter
Parameter
Name
Type
alg_name
string
array_name
string
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 '< alg_name >',[< swap_size >,] '< source_code >'
is used to define control algorithms, and global variables.
Parameter
Parameter
Name
Type
alg_name
string
swap_size
numeric (uint16)
source_code
string or block data
see 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> when you will want to change <alg_name> later
while it is running. The value can range up to about 23Kwords (ALG:DEF will
then allocate 46K words as it creates two spaces for this algorithm).
-- If included, <swap_size> specifies the number of words of memory to
allocate for the algorithm specified by <alg_name>. The HP E1415 will
then allocate this much memory again, as an update buffer for this
algorithm. Note that this doubles the amount of memory space requested.
Think of this as "space1" and "space2" for algorithm <alg_name>. When
you later send a replacement algorithm (must be sent without the
<swap_size> parameter), it will be placed in "space2". You must send an
ALG:UPDATE command for execution to switch from the original, to the
Range of
Values
ALG1 - ALG32 | GLOBALS
valid 'C' variable name
Range of
Values
ALG1 - ALG32 | GLOBALS
0 - Max Available Algorithm Memory
PIDA... | PIDB... | algorithm source
HP E1415 Command Reference
ALGorithm
returns the
Default
Units
none
none
Default
Units
none
words
none
167

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vxi e1415a

Table of Contents