30#ifndef RigolDP8xxPowerSupply_h
31#define RigolDP8xxPowerSupply_h
55 double GetPowerVoltageActual(
int chan)
override;
56 double GetPowerVoltageNominal(
int chan)
override;
57 double GetPowerCurrentActual(
int chan)
override;
58 double GetPowerCurrentNominal(
int chan)
override;
59 bool GetPowerChannelActive(
int chan)
override;
62 bool GetPowerOvercurrentShutdownEnabled(
int chan)
override;
64 void SetPowerOvercurrentShutdownEnabled(
int chan,
bool enable)
override;
65 bool GetPowerOvercurrentShutdownTripped(
int chan)
override;
66 void SetPowerVoltage(
int chan,
double volts)
override;
67 void SetPowerCurrent(
int chan,
double amps)
override;
68 void SetPowerChannelActive(
int chan,
bool on)
override;
69 bool IsPowerConstantCurrent(
int chan)
override;
72 std::map<int, bool> m_overcurrentProtectionEnabled;
75 static std::string GetDriverNameInternal();
A Rigol DP8xx power supply Validated on Rigol DP832.
Definition: RigolDP8xxPowerSupply.h:40
bool SupportsSoftStart() override
Determines if the power supply supports soft start.
Definition: RigolDP8xxPowerSupply.cpp:76
bool SupportsOvercurrentShutdown() override
Determines if the power supply supports shutdown rather than constant-current mode on overcurrent.
Definition: RigolDP8xxPowerSupply.cpp:91
bool SupportsIndividualOutputSwitching() override
Determines if the power supply supports switching individual output channels.
Definition: RigolDP8xxPowerSupply.cpp:81
virtual uint32_t GetInstrumentTypesForChannel(size_t i) const override
Returns a bitfield describing the set of instrument types that a given channel supports.
Definition: RigolDP8xxPowerSupply.cpp:68
bool SupportsMasterOutputSwitching() override
Determines if the power supply supports ganged master switching of all outputs.
Definition: RigolDP8xxPowerSupply.cpp:86
An SCPI-based device.
Definition: SCPIDevice.h:37
An SCPI-based power supply.
Definition: SCPIPowerSupply.h:38
Abstraction of a transport layer for moving SCPI data between endpoints.
Definition: SCPITransport.h:47