Algorithm:update:channel; Algorithm:update:channel (@<Channel>) - HP E1419A User Manual

Measurement and control module
Table of Contents

Advertisement

Command
Sequence

ALGorithm:UPDate:CHANnel

Parameters
Comments
NOTE
Chapter 6
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> This command is used to update
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 E1419s 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.
As soon as the ALG:UPD:CHAN command is received, the HP E1419 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
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 E1419 Command Reference 205
ALGorithm
Default
Units
none

Advertisement

Table of Contents
loading

Table of Contents