Table of Contents
Previous Chapter
--------------------------------------------------------------
Field Type DCT Initial Access Modify Rec Proc PP
Monitor
--------------------------------------------------------------
OUT OUTLINK Yes 0 No No N/A No
UNIT RECCHOICE Yes 0 Yes Yes No No
PER DOUBLE Yes 0 Yes Yes Yes No
DCY DOUBLE Yes 0 Yes Yes Yes No
OPER DOUBLE No 0 Yes No Yes
ODCY DOUBLE No 0 Yes No Yes
GTYP RECCHOICE Yes 0 Yes Yes No No
HGV SHORT Yes 0 Yes Yes No No
SGL INLINK Yes 0 No No N/A No
SGV RECCHOICE Yes 0 Yes Yes No No
OSGV SHORT No 0 Yes No No
VAL SHORT No 0 Yes Yes Yes Yes
CTYP RECCHOICE Yes 0 Yes Yes No No
CEDG RECCHOICE Yes 0 Yes Yes No No
ECS SHORT Yes 0 Yes Yes No No
ECR DOUBLE Yes 0 Yes Yes No No
HOPR FLOAT Yes 0 Yes Yes No No
LOPR FLOAT Yes 0 Yes Yes No No
PREC SHORT Yes 0 Yes Yes No No
LLOW RECCHOICE Yes 0 Yes Yes No No
--------------------------------------------------------------
---------------------------------------------------------------------------------------
Name Summary Description
---------------------------------------------------------------------------------------
OUT Output Link This field is used by the device support routines to decide
where to send output. For soft records, it can be a
constant, a database link, or a channel access link. If the
link is a constant, the result is no output.
UNIT Units of time Units of time (Seconds, milliseconds, microseconds,
nanoseconds, picoseconds).
PER Period, in UNITs Pulse train period.
DCY Duty Cycle, percent Percent of time that signal is high.
OPER Old Period, in Value when last monitors for period were triggered.
UNITS
ODCY Old Duty Cycle, Value when last monitors for duty cycle were triggered.
percent
GTYP Gate Type This can be hardware or software. If GTYP is hardware,
then HGV determines gating control. If GTYP is software,
the SGV determines gating control.
HGV Hardware Gate This field is device dependant.
Value
SGL Soft Gate Location If SGL is a database link and GTYP is software, then SGV
(Input Link) will be set to the value read from SGL.
SGV Soft Gate Value This can be inactive (no gating) or active.
OSGV Old Soft Gate Value This is the previous value of SGV.
VAL Value This field is not used.
CTYP Clock Type This can be internal or external.
CEDG Clock Signal Edge This can be Rising Edge or Falling Edge. This field forces
counting on rising or falling edge of source signal.
ECS External Clock If CTYP is internal, this field is ignored. If CTYP is
Source external, then this field is device dependent.
ECR External Clock Clock rate for external clock source.
Rate, in Hz
HOPR High Operating These fields determine the upper and lower display limits
Range for graphics displays and the upper and lower control
limits for control displays. The fields are used by record
support to honor calls to get_graphic_double or
get_control_double.
LOPR Low Operating
Range
PREC Display Precision Precision with which to display DLY. This field is used by
record support to supply a value when get_precision
is called.
LLOW Low Logic Level Logic Low=0
Logic Low=1
---------------------------------------------------------------------------------------
Device support is then checked to see if write_pt is defined.
If device support includes init_record, it is called.
---------------------------------------------------------------------------------------
Name Summary Description
---------------------------------------------------------------------------------------
UNIT Units of time This field will be used to identify the time units used for
time fields.
OUT Output Link This field is used by the device support routines to locate
its output.
PER Period, in UNITs Device support must use PER for pulse period.
DCY Duty Cycle, percent Device support must use DCY for the percent of time the
signal is high.
LLOW Low Logic Level Device support must use to determine logic low level.
CEDG Clock Signal Edge This field is used by the device support routines to force
counting on leading or falling edge of signal.
GTYP Gate Type Device support is responsible for using IGV to determine
gating control if GTYP is internal, or SGV if GTYP is
external.
IGV
SGV Soft Gate Value
CTYP Clock Type If CTYP is external, device support is responsible for
using ECR for the clock rate and if CTYP is internal, ECS
is the clock source.
ECS External Clock
Source
ECR External Clock
Rate, in Hz
---------------------------------------------------------------------------------------
report()This routine is optional. If provided, it prints a report of all device modules.
init()This routine is called once during IOC initialization.
init_record(precord)This routine is optional. If provided, it is called by the record support init_record routine.
get_ioint_info(int cmd,struct dbCommon *precord,IOSCANPVT *ppvt)This routine is called by the ioEventScan system each time the record is added or deleted from an I/O event scan list. cmd has the value (0,1) if the record is being (added to, deleted from) an I/O event list. It must be provided for any device type that can use the ioEvent scanner.
write_pt(precord)This routine issues commands to the output device. It returns the following values:
Table of Contents
Next Chapter