SicsEase


EASE - An Easy Way to Write Sample Environment Drivers

Motivation

Drivers for sample environment (SE) have some special demands which were not fully supported by the original SICS environment controller (EVC):

pardef

pardef.c contains the implementation base class ParData for a new type of SICS object. It contains parameter definition, parameter handling, parameter listing, logging and storing. The parameter definiton function is the heart of any object based on pardef. This function is called by the system for different actions which can be performed on an object.

EASE

ease.c contains two classes: EaseBase inherits ParData. It includes the finite state machine, and the handling of a serial connection to the hardware. EaseDriv inherits EaseBase. It makes the object driveable.

fsm

fsm.c is the implementation of a simple processor. The tasks which can be executed are functions (FsmFunc) which contain a switch statement, where every case is a step of the task to execute. When combined with EASE, the individual steps normally end with a command written to the device. After any step, the FsmFunc returns the line number of the next step. The system calles the FsmFunc again, when the response is ready. FsmFuncs might be nested.

Drivers based on EASE

For a driver, one needs to define

For a list of predefined parameters and subcommands see EaseParametersAndCommands

For list of a available drivers based on EASE see EaseDrivers