			   OREGON README
		
			by Andy Gotz (8/12/99)

INTRODUCTION

This directory contains the source code for implementing the Oregon
stepper motor device server in C++. The device server implements the
standard set of Maxe (multiple axes) commands as defined by the Maxe
device server. It is based on OmsMaxe device server by Lucille Rossier
(Lure, Paris). Hardware access is handled by the oms device driver
written by Richard Hirst (richard@sleepie.daemon.co.uk) for Linux. 
The device server will also run under Linux and will support the 
VME58 and PC68 versions of the  Oregon card.

DIRECTORIES

The following subdirectories exist :

(o) src - source code for OregonMaxe class

(o) src/lure - original OmsMaxe device class from Lure

(o) include - include files for OregonMaxe class

(o) oms - source code for Oms class 

(o) oms/driver - source code for oms device driver for Linux

(o) doc - user guide for Maxe (postscript)

USAGE

This source code is made available for people who want to learn about
how the device server class is implemented. 

MODIFYING

If anyone wants to implement a new motor class using the OregonMaxe
as model then there are two possibilities :

(1) implement a new class called MyMotor.cpp which will replace
    the Oms.cpp class and which has the same commands. Change the 
    OregonMaxe to MyMotorMaxe and replace Oms with MyMotor class.

(2) define a superclass for Oms and MyMotor class called Motor class
    for example. Modify OregonMaxe to create a Motor class instead
    of Oms class. Pass the type of class to Motor as a parameter.
    The Motor class will decide at run time which motor class type
    to instatiate.

INSTALLING

If you want to install and use this class then make sure you have
installed the latest version of the TACO source code release (V2.3)
Get it from http://www.esrf.fr/computing/cs/taco/taco.html. Compile
the Oregon class and driver for the platform where you want to run
the tests (VME58 or PC68).

QUESTIONS

If you have questions or problems don't hesitate to send them to
me - goetz@esrf.fr
    


