Extend C1151 driver to include reading
The C1151 is a CAMAC power supply controller. Its driver supports settings, basic control and basic status. The reading property for the supply is typically obtained from an MADC channel.
Wally has reported there are many instances where the read-back from the supply always reads a positive value, even if the basic control has set it for negative output. He has requested that we modify the C1151 driver to have a reading property that reflects the proper polarity.
The plan is to add a reading property which will call the MADC readings and then adjust the value based on the positive/negative status. The SSDN for the reading property should be the same as it would be for the underlying MADC channel with the exception that the OID field would point to the C1151 instance. As long as a 0 setting results in a 0 volt output, this will work.
#2 Updated by Richard Neswold almost 5 years ago
- Status changed from Assigned to Feedback
The C1151 has an analog readback built into it and the driver already has support to read it. We should see if this channel can do what Wally wants before implementing the more complex solution we were planning.