Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.eso.org/projects/www.eso.org.projects.ngc/Software/2005_06_10-Stegmeier-NGCSW.pdf
Дата изменения: Mon Mar 12 17:23:22 2007
Дата индексирования: Sun Apr 10 23:46:36 2016
Кодировка:
NGC - DCS Processes
GUI GUI Config.-Files Config.-Files
Command/ Reply

Database Database

FITS-Files FITS-Files RTD RTD

Control Server Control Server IWS

Data Transfer Taskk Data Transfer Tas

CommanddServer Comman Server (Forwarding) (Forwarding)

AcquisitionnProcess Acquisitio Process (Pre-PProcessing,Sorting,...) (Pre- rocessing, Sorting,...)

Device Driver Device Driver Data Commands

Pre-Processor WS

PCI-Bus Interface

Fiber-Optic-Link to NGC Front End


Software Layers
Reset()/Initialize() Reset()/Initialize() SetTimeout() SetTimeout() ReadBuffer(address, buffer, size, ...) ReadBuffer(address, buffer, size, ...) WriteBuffer(address, buffer, size, ...) WriteBuffer(address, buffer, size, ...) SetVoltage() SetVoltage() ReadTelemetry() ReadTelemetry() SetClockPattern() SetClockPattern() GetClockPattern() GetClockPattern() StartSequeence() ) StartSequ ncer r( StopSequeencer() StopSequ ncer() Enable/DisableADC() Enable/DisableADC() GetStatus() GetStatus() ... ... Graphical Graphical User User Interface Interface

open() open() close() close() read() read() write() write() ioctl() ioctl()

SingleDmaRead(buffer, size,...) SingleDmaRead(buffer, size,...) ConfigureSustainedDma() ConfigureSustainedDma() StartSustainedDma() StartSustainedDma() WaitForData() WaitForData() AbortSustainedDma() AbortSustainedDma() GetDmaStatus() GetDmaStatus() ... ...

CaptureData() CaptureData() ProcessData() ProcessData() TransferData() TransferData() ... ...

StartAcqProcess() StartAcqProcess() StopAcqProcess() StopAcqProcess() RequestImage() RequestImage() ReceiveImage() ReceiveImage() ... ...

ReadConfigFile() ReadConfigFile() SetReadoutMode() SetReadoutMode() SetupExposure() SetupExposure() StartExposuree) ) StartExposur ( ( AbortExposure() AbortExposure() CreateFitsFile() CreateFitsFile() UpdateDatabase() UpdateDatabase() DisplaayImage() DisplyImage() ... ...

Driver-Level

Driver Interface Libraries

Acquisition Process

Controller Interface

High Level DCS


Driver and Interface
Device driver for RH Linux 2.4.20 is ready (module "ngcdrv"). Driver Interface Libraries hide changes in HW and operating system (LINUX kernel) and make the SW transparent to the next SW layer. They are part of the NGC Base Software, which also contains some other functionality (such as a transparent threads interface, priority control, etc.) and a Simulator for the NGC HW (module "ngcb" ­ under testing).


Acquisiton Process
The pre-processing Acquisition Process (module "ngcpp" ­ framework for the multi-threaded has been taken over from IRACE under testing).

Currently this is required only for pre-processing in IR applications. Template processes have been developed, which are an easy-to-use and stand-alone tool to visualize NGC-Data on the RTD.


Controller Interface
The Controller Interface provides modular objects for Sequencer-, CLDC- and ADC-Control and an object for interfacing to the Acquisition Process and for the Asynchronous Data Reception. The objects can be assembled in a server in an arbitrary way to reflect all functionality of any NGC hardware configuration (multiple instances of Sequencer-, CLDC-, ADC-modules and any number of Acquisition Processes). Configuration file formats for Clock-Patterns, VoltageSetup and a Sequencer Programming Language are defined. A simple interactive example server has been created, which uses theses objects in a default configuration to allow hardware development and detector tests. Module name TBD ("ngci", "ngcdcs",... ?).