13.07.2015 Views

Setup of a Drift Tube Muon Tracker and Calibration of Muon ...

Setup of a Drift Tube Muon Tracker and Calibration of Muon ...

Setup of a Drift Tube Muon Tracker and Calibration of Muon ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix ASlow Control S<strong>of</strong>twareThe slow control s<strong>of</strong>tware developed in this thesis is based on a simple shell scriptthat can be controlled through dialogs. The kernel module for controlling the PEAKUSB CAN adapter creates a device /dev/pcan32 which can be addresses throughtext messages. The slow control s<strong>of</strong>tware converts the user input into CAN textmessages <strong>and</strong> sends them to the device. For testing, the device address can bechanged to a temporary file; the CAN messages are then stored in the file instead<strong>of</strong> being sent to the device. CAN responses can also be accessed through the device/dev/pcan32. Once the control s<strong>of</strong>tware is started, a background process watchesthe device <strong>and</strong> saves all messages in a temporary file. That way, the slow controls<strong>of</strong>tware has access to all response messages.The different slow control settings are managed in environment variables. Thedifferent variables used <strong>and</strong> their default values are presented in Tab. A.1. Thevalues can be modified through the dialogs. To apply the settings to the detector,values have to be sent. The CAN messages are only generated <strong>and</strong> sent when thesend option is chosen.101

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!