Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

 

Table of Contents

Introduction

...

The sequence of actions of each thread is described in details below:

Thread task in a continuous loop to deal with FCOM receiving. It is in the file blenFcom.cpp.

Gliffy Diagram
nameFCOM thread task

processBlob: a function called by the FCOM task. It is in the file blenFcom.cpp.

Gliffy Diagram
nameBlenFcom processBlob()

Thread task in a continuous loop to deal with BSA storing and data being sent to the fast feedback system. It is in the file cpswStreamBSA.cpp.

Gliffy Diagram
size600
nameBSA thread task

Control filters and check status of them

The system controls some optical filters and reads the position of the filters by using digital I/O located on the RTM attached to the blade dedicated to the Bunch Length system.

The IOC application reads and writes to the FPGA registers by using CPSW and the control is done entirely in the EPICS database. For reading the status of the filters the register provides an integer where each bit represents a status of a filter. For commanding the filter, an integer is written to the register, using this same bit code. The bit mapping is the following:

Number of the

pyrodetector

Filter associated

with the pyrodetector

Bit #
110
121
212
223