Split Agilent PS into single and multi-channel variations.
Addresses issue #14 (closed).
Separates the AgilentPs
class into AgilentE3631APs
(three channels) and AgilentE364xAPs
/AgilentE3634APs
(single channel). All inherit from a base AgilentPs
.
The AgilentPs
class works on the assumption that all commands are the same between different Agilent power supplies. The maximum number of channels and model names are set via constructor. The three implemented models set these values to the right value based on the model.
In principle, AgilentPs
this class can also be used for PS operation without support for:
-
checkCompatibilityList()
(currently always fails to highlight the fact that no other power supplies have been validated) - channel checking (all channel numbers allowed, since they are not used explicitly)
Edited by Karol Krizka