MIDAS Driver Library: Difference between revisions

From MidasWiki
Jump to navigation Jump to search
(Created page with "== MIDAS DRIVER LIBRARY == The driver library is continuously extended to suit the needs of various experiments based on the selected hardware modules. Not all commercially ...")
 
(The midas documentation has moved to https://midas.triumf.ca/docs/)
Tag: Replaced
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== MIDAS DRIVER LIBRARY ==
The midas documentation has moved. The new documentation about the midas hardware drivers is in:
 
* [https://midas.triumf.ca/docs/develop/reference/reference/drivers/ Driver library] (every driver in $MIDASSYS/drivers)
 
* [https://midas.triumf.ca/docs/develop/api/cpp/hardware/ Midas C++ API - hardware access (VME, CAMAC, Fastbus, USB)] (the CAMAC and VME functions)
The driver library is continuously extended to suit the needs of various experiments based on the selected hardware modules. Not all commercially available modules are included as we don't have all the modules in hand. But you're more than welcome to contribute by providing your driver code if the module that you're using is not yet listed.
* [https://midas.triumf.ca/docs/develop/about/community_contributions/#hardware-readout Hardware readout] on the Community contributions page (drivers maintained outside midas)
 
The '''drivers''' directory  in the MIDAS package is subdivided in several directories which refers to either the type of bus ie: CAMAC, FastBus, VME, PCI, USB or type of software layer such as Class, Device, Bus.
 
The software layers sections are used in particular for Slow Control System. Example are available in the distribution under '''examples/slowcont/frontend.c''' including the ''hv'' and ''multi'' class with the ''nulldev'' device and ''null'' bus driver.  
 
Note: not all the device drivers implement the triple layer (Class,Device,Bus) as some include the hardware calls directly in the device layer. Please 
[mailto:midas@psi.ch,midas@triumf.ca?subject=VME%20support email midas] for specific support or for submitting new drivers.
 
[[File:MIDAS_Driver_listing.jpg|MIDAS Drivers directory structure]]
 
== CAMAC ==
This section is slowly getting obsolete. But still some ISA
and PCI interface are in use. Most recent development is the USB/CAMAC
interface from Wiener (<a href="http://www.wiener-d.com/M/17/7.html">CCUSB</a>).
While this interface permits <b>CAMAC Command Stacks</b> this option is not
yet supported by the MIDAS API limiting the access speed of a R/W 24bit cycle
to ~360us!
 
 
 
== VME ==
- @ref VME_drivers The VME API has been revisited for a better function call set.
  Not all the hardware modules have been ported to this new scheme. DMA and
  Interrupt support have been included. The main hardware support is for the
  SBS PCI/VME, SIS PCI/VME, VMIC processor.
 
== OTHER ==
list

Latest revision as of 22:00, 30 October 2026

The midas documentation has moved. The new documentation about the midas hardware drivers is in: