Table of Contents
Previous Chapter For more detailed information on the APS event generator and receiver records refer to Chapter 11 on page 69.
--------------------------------------------------------------
Field Type DCT Initial Access Modify Rec Proc PP
Monitor
--------------------------------------------------------------
OUT OUTLINK Yes 0 No No No No
ENM LONG Yes 0 Yes Yes No Yes
LEVT LONG No 0 Yes No No Yes
RAM RECCHOICE Yes 0 Yes Yes No Yes
LRAM RECCHOICE No 0 Yes No No Yes
DELY FLOAT Yes 0 Yes Yes No Yes
ADLY FLOAT No 0 Yes No No No
DPOS LONG No 0 Yes No No No
APOS LONG No 0 Yes No No No
LDLY FLOAT No 0 Yes No No No
UNIT RECCHOICE Yes 0 Yes Yes No Yes
VAL CHAR No 0 Yes No Yes No
ELN NOACCESS No 12 No No No No
SELF NOACCESS No 4 No No No No
--------------------------------------------------------------
------------------------------------------------------------------------------------------
Name Summary Description
------------------------------------------------------------------------------------------
OUT Output Link Used to specify what event generator link that this event is
related to. Only the Card number is used
ENM Event Number The event number that is to be placed into the sequence
RAM.
LEVT Last Event Number
RAM Sequence RAM Which RAM the event is to be placed into. (Ignored when
Specifier the generator is in `Alternate' mode.)
LRAM Last RAM
DELY Desired Delay The desired time delay between the trigger that starts the
RAM sequence and when this event should be sent. This
field must be expressed in the units selected in the UNIT
field described below.
ADLY Actual Delay This is a read-only field that is set to the actual delay value
after accounting for rounding caused by the clock
resolution as well as collisions that can occur if more than
one event is placed into the same sequence RAM location.
DPOS Desired Position This is a read-only field that represents desired position in
the sequence RAM that the event should be placed. It is
expressed in clock ticks.
APOS Actual Position This is a read-only field that represents the actual position
in the sequence RAM that the event is placed. It is
expressed in clock ticks.
LDLY Last Desired Delay
UNIT Delay Specifier The time units used to express the delay value in the DELY
Units and ADLY fields.
VAL Value Field Not used.
ELN List Node
SELF Self Pointer
------------------------------------------------------------------------------------------
Sequence RAMs are reloaded when ever any of the egevent records related to it has its DELY, ENM or UNIT values changed. It is not advisable to alter the UNIT field unless the associated sequence RAM mode is set to `Off'.
In order to configure the event generator device support, a call must be made to set the address for each of the event generator cards present in the IOC. This configuration call is as follows:
EgConfigure(<card number>, <Base address in A16>)The <card number> field may be 0-4 and is used to specify which card is to be configured. This is the card number that is referenced in the eg and egevent records when building the database. The <Base address in A16> field is a 16-bit number that represents the address of the card in the A16 memory space.
Database records that specify card numbers that are not configured will generate `bad field' errors when they are initialized by iocInit. And will then be ignored by the event generator device support if ever processed.