Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  10 Nov 2017, Frederik Wauters, Bug Report, bug in init of hv class driver 
    Reply  17 Nov 2017, Konstantin Olchanski, Bug Report, bug in init of hv class driver 
    Reply  21 Nov 2017, Stefan Ritt, Bug Report, bug in init of hv class driver 
       Reply  21 Nov 2017, Konstantin Olchanski, Bug Report, bug in init of hv class driver 
Message ID: 1327     Entry time: 21 Nov 2017     In reply to: 1325
Author: Konstantin Olchanski 
Topic: Bug Report 
Subject: bug in init of hv class driver 
> 
> The original idea behind the hv driver is that all voltages in the ODB and the class driver are
> positive. If you have a negative power supply, then the voltage is inverted at the device
> driver level. That's why you have MIN and MAX in the class driver.
> 

This rings a bell. I used the hv class driver to write a frontend for the L1440 mainframe (negative voltage),
on ODB it will be positive values, when writing to the device I had to add a minus sign,
and when reading back they came back negative and I had to add an fabs() in the comparison
between readback and demand.

Persons with bipolar power supplies need not apply.

K.O.
ELOG V3.1.4-2e1708b5