Opened 10 years ago

Closed 10 years ago

#22 closed defect (wontfix)

fscctrl responsible for bias patch temperatures?

Reported by: dneise Owned by: somebody
Priority: trivial Milestone: milestone:
Component: component1 Version:
Keywords: Cc:

Description

The FACT++ program fscctrl, which connects to the FSC board, receives and interprets the FSC-messages, checks the checksums and finally publishes the recieved information.

But I just found, that it also interpolates the temperatures of the 320 bias patches (a bias path is "one half" of a trigger patch, a group of either 4 or 5 pixels) from the measured temperatures.

I think this code should be moved outside of fscctrl, since not every FSC in the world might have the same number of sensors attached, nor might it even be possible to interpolate anything useful.

Of course I see, that from a viewpoint of dependency, one might have the impression this calculation may be put into the program fscctrl, since this program happens to know all the necessary information to do the calculation.

fscctrl needs a file called "bias-positions.txt". Naively one does not understand, why the program, that is expected to listen to the FSC board, needs to know anything about the existence or position or number of bias patches. Also the program biasctrl, which happens to know how many motherboards are connected to the the bias-crate, might not really know how many channels are used in the camera.

So in a word, I think one should extract this code, into another program, that is acting on a more abstract level.

Change History (1)

comment:1 by tbretz, 10 years ago

Priority: minortrivial
Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.