The Timepix Operating Software (TOS) is a C++ project which provides the interface of the Timepix Operating Firmware (TOF) to a PC.
The current version can always be found at https://bitbucket.team.uni-bonn.de/projects/PGD/repos/tos.
TOS in its current form has several dependencies, which need to be met.
A not yet complete list of dependencies includes:
libusb-dev \
libreadline6 \
libreadline6-dev \
libboost-dev \
libudev-dev
and the 'libxxusb.h', which needs to be installed manually. The code for the Wiener XXUSB library can be found at: https://bitbucket.team.uni-bonn.de/projects/PGD/repos/wiener-xxusb/. Regarding the boost dependency: It is probably enough to install libboost-dev. If not, one needs to install libboost-all-dev after all.
If all dependencies are met,
qmake TOS.pro
will create the Makefile for the project from the QT project file. Then a simple
make
should (hopefully) compile successfully. Linux and Windows are now both supported by a single project file (TOS.pro). Just call qmake and it will decide by itself, which configuration it has to use!
NOTE: On my linux machine, I need to use QT4 in order to create the makefile from the TOS.pro file: qmake-qt4 TOS.pro
The following debug levels are available: 0: no debug output 1: status messages via the console 2: messaging Function-Entries
The following performance levels are available: 0: data file is human-readable 1: data is just dumped, without LFSR-conversion
The compile-time flags can be edited in TOS.pro
.
Install the dependencies required for the generation of th source documentation.
sudo apt-get install doxygen graphviz
You can generate the source documentation (doxygen) with
make doc
A good start to read the documentation is the file output/doc/html/classes.html
.