next up previous
Next: Create a new application Up: How to create EPICS Previous: Introduction

Determine the required I/O operations

The first order of business is to determine the set of operations the device will have to perform. A look at the AB300 documentation reveals that there are four commands that must be supported. Each command will be associated with an EPICS process variable (PV) whose type must be appropriate to the data transferred by the command. The AB300 commands and process variable record types I choose to associate with them are shown in table 1.

Table 1: AB300 filter wheel commands
CVI Laser Corporation AB300 filter wheel
Command EPICS record type
Reset longout
Go to new position longout
Query position longin
Query status longin

There are lots of other ways that the AB300 could be handled. It might be useful, for example, to treat the filter position as multi-bit binary records instead.