Algorithm:update:channel; Algorithm:update:channel <Dig_Chan - HP VXI 75000 C Series User's And Scpi Programming Manual

Algorithmic closed loop controller
Table of Contents

Advertisement

Command
Sequence

ALGorithm:UPDate:CHANnel

Parameters
Comments
Chapter 6
When Accepted: Before or after INIT.
Related Commands: ALG:UPDATE:WINDOW, ALG:SCALAR,
ALG:ARRAY, ALG:STATE, and ALG:SCAN:RATIO, ALG:DEF (with
swapping enabled)
The following example shows three scalars being written with the associated update
command following. See ALG:UPD:WINDOW.
ALG:SCAL ALG1','Setpoint',25
ALG:SCAL 'ALG1','P_factor',1.3
ALG:SCAL 'ALG2','P_factor',1.7
ALG:UPD
ALG:SCAL? 'ALG2','Setpoint'
ALGorithm:UPDate:CHANnel < dig_chan >
variables, algorithms, ALG:SCAN:RATIO, and ALG:STATE changes when the
specified digital input level changes state. When the ALG:UPD:CHAN command is
executed, the current state of the digital input specified is saved. The update will be
performed at the next update phase (UPDATE in Figure 6-1), following the channel's
change of digital state. This command is useful to synchronize multiple HP E1415s
when you want all variable updates to be processed at the same time.
Parameter
Parameter
Name
Type
dig_chan
Algorithm
Language channel
specifier (string)
The duration of the level change to the designated bit or channel MUST be at
least the length of time between scan triggers. Variable and algorithm changes
can be accepted during the INPUT or UPDATE phases (Figure 6-1) when INIT
is active. All writes to variables and algorithms occur to their buffered
elements upon receipt. However, these changes do not take effect until the
ALG:UPD:CHAN command is processed at the beginning of the UPDATE
phase. Note that the ALG:UPD:WINDow command specifies the maximum
number of updates to do. If no update command is pending when entering the
UPDATE phase, then this time is dedicated to receiving more changes from
the system.
Note
As soon as the ALG:UPD:CHAN command is received, the HP E1415
begins to closely monitor the state of the update channel and can not
execute other commands until the update channel changes state to complete
the update
provide 3 new alg scalar values
update values in alg
query for new updated scalar
This command is used to update
Range of
Values
Input channel for HP E1533: Iccc.Bb
for HP E1534: Iccc
where ccc=normal channel number and
b=bit number (include ".B")
HP E1415 Command Reference
ALGorithm
Default
Units
none
179

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vxi e1415a

Table of Contents