36#ifndef GWInstekGPDX303SPowerSupply_h
37#define GWInstekGPDX303SPowerSupply_h
39#include "SCPIDevice.h"
40#include "SCPIPowerSupply.h"
65 double GetPowerVoltageActual(
int chan)
override;
66 double GetPowerVoltageNominal(
int chan)
override;
67 double GetPowerCurrentActual(
int chan)
override;
68 double GetPowerCurrentNominal(
int chan)
override;
71 void SetPowerVoltage(
int chan,
double volts)
override;
72 void SetPowerCurrent(
int chan,
double amps)
override;
73 bool IsPowerConstantCurrent(
int chan)
override;
75 bool GetMasterPowerEnable()
override;
76 void SetMasterPowerEnable(
bool enable)
override;
Declaration of SCPITransport.
A GW Instek GPD-(X)303S power supply.
Definition: GWInstekGPDX303SPowerSupply.h:53
std::bitset< 8 > GetStatusRegister()
Helper method to return the status register as a set of bits.
Definition: GWInstekGPDX303SPowerSupply.cpp:112
static std::string GetDriverNameInternal()
Return the constant driver name "gwinstek_gpdx303s".
Definition: GWInstekGPDX303SPowerSupply.cpp:76
bool SupportsMasterOutputSwitching() override
Determines if the power supply supports ganged master switching of all outputs.
Definition: GWInstekGPDX303SPowerSupply.cpp:89
virtual uint32_t GetInstrumentTypesForChannel(size_t i) const override
Returns a bitfield describing the set of instrument types that a given channel supports.
Definition: GWInstekGPDX303SPowerSupply.cpp:81
GWInstekGPDX303SPowerSupply(SCPITransport *transport)
Initialize the driver.
Definition: GWInstekGPDX303SPowerSupply.cpp:50
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