MIDAS - The Multiple Instance Data Acquisition System
Data Acquisition - Data Transfer & Shared Data Area software downloads
- software package download - MIDAS_Data_130115.tgz
Download the software and install into an empty directory. Use tar -zxf to unpack. A number of directories will be created which are described in detail in the sections following.
The software packages have been built using 64 bit Linux for x86_64 processors. Other options (Windows, Linux for ppc and Linux for arm) will follow. All needed software sources are provided to allow you to build the libraries and demo programs.
As an initial test of the software install the 2 libraries (MIDAS); Run DataSink to receive incoming data and run DataGen to generate data. These 2 programs should connect together. Then you can run DataPeek just to look into the data buffers as they flow past. Then you can start modifying the demo programs to your particular requirements.
- MIDAS
This directory contains the built libraries. It is recommended that this directory be accessed via /MIDAS which can be easily arranged using a symbolic link. You will need to create an environment variable LD_LIBRARY_PATH containing /MIDAS/Linux/lib64.
- DataXferLib
This is documented in detail at this location
- DataSpyLib
This is documented in detail at this location
- DataGen
This is a demo program showing the use of the DataXferLib. It can also be used as a test of the performance possible between a data source and a data sink (storage server).
The number of data blocks per second is displayed and a delay between sending data blocks can be requested.
The user can simply modify the code to format the data buffer in any way required. This then can be used to test downstream software.
Options for the DataGen program are output by using for example "DataGen -help"
- DataSink
This is a demo program showing how to build a data server. It can handle multiple data connections and writes the data received into shared memory.
The program can be used as a server for testing either a real data acquisition system or used as a sink for the DataGen program. DataPeek can be used to spy on the received data in the shared memory segment.
Options for the DataSink program are output by using for example "DataSink -help"
- DataRelay
This is an implementation of the DataRelay program using DataSpyLib and DataXferLib. It takes a data stream from shared memory and transfers to another workstation where typically DataSink would be used to receive. Here analysis codes using DataSpyLib can process the data.
DataRelay can be easily extended to take multiple data streams and transfer to multiple destinations using methods taken from DataCopy and DataGen.
Options for the DataRelay program are output by using for example "DataRelay -help"
- DataPeek
This is a demo program showing the use of the DataSpyLib. Options for the DataPeek program are output by using for example "DataPeek -help"
- DataCopy
This is a demo program showing the use of the DataSpyLib. It is intended as a example of an spy program looking at data received and held in shared memory by the Tape Server or the DataSink program.
Multiple data connections are possible and so an analysis code can be developed from this base for extracting correlated data from the available data sources. This data can be simply written to disc.
Options for the DataCopy program are output by using for example "DataCopy -help"
Return to the MIDAS home page
© 2015 NPG - STFC