EPICS Record/Device/Driver Support

5/18/98


Click here to start


Table of Contents

EPICS Record/Device/Driver Support

Outline

EPICS Software Architecture

Record Support

Record Description File - xxx.dbd

Record Support Routines provide execution semantics

Initialize Record Type

Initialize Record Instance (init rec)

Record Processing

Before Record Processing

Record Processing Routine

Asynchronous Record Processing block scan tasks for slow devices? not!

Special Record Processing

Convert Database Address

Get Array Info

Put Array Info

Get Units

Get Precision

Get String Corresponding to Field’s Enumerated Value

Get String Table for Field With Enumerated Value

Set Enumerated Value With String

Graphic/Control/Alarm Limits

Record Support Entry Table

Device Support

Device Support Routines (Analog Input Record)

Device Support Header Files

AI Device Initialization

AI Device Report

AI Device Initialization (Record Specific)

Device Interrupt Causes Record to be Processed

Each Interrupt Source

Each Interrupt Occurrence

AI Device Get IO Interrupt Info

Read Analog Device Value

AI Device Linear Convert

From convert() in aiRecord.c

Asynchronous Devices

Example Asynchronous Read

Example Asynchronous Read Completion

Device Support Entry Table

Driver Support (Optional)

Driver Support Routines

Driver Initialize

Driver Report

Driver Support Entry Table

EPICS “Built-In” IO address Formats

IO Type Isn’t “Built-In”

Record Support Installation

Device Support Installation

Driver Support Installation

Record Instance

EPICS Status Codes (Optional)

Install ERROR Codes (Optional)

More Information

Author: Jeff Hill

Email: [email protected]

Home Page: http://lansce.lan1.gov/lansce8/Epics/epicshm.htm

Download presentation source

| LANL | Lansce | UC | DOE |

L O S   A L A M O S   N A T I O N A L    L A B O R A T O R Y
Operated by the University of California for the US Department of Energy

Copyright � 1996 UC   Disclaimer   


For problems or questions regarding this web site contact George Vaughn.