|
| KuaiquPowerSupply (SCPITransport *transport) |
| Initialize the driver. More...
|
|
virtual uint32_t | GetInstrumentTypesForChannel (size_t i) const override |
| Returns a bitfield describing the set of instrument types that a given channel supports. More...
|
|
virtual bool | SupportsIndividualOutputSwitching () override |
| Determines if the power supply supports switching individual output channels. More...
|
|
virtual bool | SupportsVoltageCurrentControl (int chan) override |
| Determines if the power supply supports voltage/current control for the given channel. More...
|
|
virtual double | GetPowerVoltageActual (int chan) override |
|
virtual double | GetPowerVoltageNominal (int chan) override |
|
virtual double | GetPowerCurrentActual (int chan) override |
|
virtual double | GetPowerCurrentNominal (int chan) override |
|
virtual bool | GetPowerChannelActive (int chan) override |
|
virtual void | SetPowerVoltage (int chan, double volts) override |
|
virtual void | SetPowerCurrent (int chan, double amps) override |
|
virtual void | SetPowerChannelActive (int chan, bool on) override |
|
virtual bool | IsPowerConstantCurrent (int chan) override |
|
| POWER_INITPROC (KuaiquPowerSupply) |
|
virtual unsigned int | GetInstrumentTypes () const override |
| Returns a bitfield describing the set of instrument types that this instrument supports. More...
|
|
virtual bool | SupportsSoftStart () |
| Determines if the power supply supports soft start. More...
|
|
virtual bool | SupportsIndividualOutputSwitching () |
| Determines if the power supply supports switching individual output channels. More...
|
|
virtual bool | SupportsMasterOutputSwitching () |
| Determines if the power supply supports ganged master switching of all outputs. More...
|
|
virtual bool | SupportsOvercurrentShutdown () |
| Determines if the power supply supports shutdown rather than constant-current mode on overcurrent. More...
|
|
virtual bool | SupportsVoltageCurrentControl (int chan) |
| Determines if the power supply supports voltage/current control for the given channel. More...
|
|
virtual bool | AcquireData () override |
| Pulls data from hardware and updates our measurements. More...
|
|
virtual double | GetPowerVoltageActual (int chan)=0 |
|
virtual double | GetPowerVoltageNominal (int chan)=0 |
|
virtual double | GetPowerCurrentActual (int chan)=0 |
|
virtual double | GetPowerCurrentNominal (int chan)=0 |
|
virtual bool | GetPowerChannelActive (int chan) |
|
virtual bool | GetPowerOvercurrentShutdownEnabled (int chan) |
|
virtual void | SetPowerOvercurrentShutdownEnabled (int chan, bool enable) |
|
virtual bool | GetPowerOvercurrentShutdownTripped (int chan) |
|
virtual void | SetPowerVoltage (int chan, double volts)=0 |
|
virtual void | SetPowerCurrent (int chan, double amps)=0 |
|
virtual void | SetPowerChannelActive (int chan, bool on) |
|
virtual bool | IsPowerConstantCurrent (int chan)=0 |
|
virtual bool | GetMasterPowerEnable () |
|
virtual void | SetMasterPowerEnable (bool enable) |
|
virtual bool | IsSoftStartEnabled (int chan) |
|
virtual void | SetSoftStartEnabled (int chan, bool enable) |
|
virtual int64_t | GetSoftStartRampTime (int chan) |
| Gets the ramp time for use with soft-start mode. More...
|
|
virtual void | SetSoftStartRampTime (int chan, int64_t time) |
| Sets the ramp time for use with soft-start mode. More...
|
|
virtual unsigned int | GetInstrumentTypes () const =0 |
| Returns a bitfield describing the set of instrument types that this instrument supports. More...
|
|
virtual std::string | GetName () const =0 |
|
virtual std::string | GetVendor () const =0 |
|
virtual std::string | GetSerial () const =0 |
|
virtual std::string | GetTransportConnectionString ()=0 |
| Gets the connection string for our transport. More...
|
|
virtual std::string | GetTransportName ()=0 |
| Gets the name of our transport. More...
|
|
virtual uint32_t | GetInstrumentTypesForChannel (size_t i) const =0 |
| Returns a bitfield describing the set of instrument types that a given channel supports. More...
|
|
size_t | GetChannelCount () const |
| Gets the number of channels (of any type) this instrument has.
|
|
InstrumentChannel * | GetChannel (size_t i) const |
| Gets a given channel on the instrument. More...
|
|
virtual std::string | GetChannelDisplayName (size_t i) |
| Gets the hardware display name for a channel. This is an arbitrary user-selected string. More...
|
|
virtual void | SetChannelDisplayName (size_t i, std::string name) |
| Sets the hardware display name for a channel. This is an arbitrary user-selected string. More...
|
|
InstrumentChannel * | GetChannelByDisplayName (const std::string &name) |
| Gets a channel given the display name.
|
|
InstrumentChannel * | GetChannelByHwName (const std::string &name) |
| Gets a channel given the hardware name.
|
|
virtual bool | AcquireData ()=0 |
| Pull data from the instrument. More...
|
|
virtual YAML::Node | SerializeConfiguration (IDTable &table) const |
| Serializes this instrument's configuration to a YAML node. More...
|
|
virtual void | LoadConfiguration (int version, const YAML::Node &node, IDTable &idmap) |
| Load instrument and channel configuration from a save file. More...
|
|
virtual void | PreLoadConfiguration (int version, const YAML::Node &node, IDTable &idmap, ConfigWarningList &warnings) |
| Parse a limited subset of instrument configuration but do not apply it. More...
|
|
| SCPIInstrument (SCPITransport *transport, bool identify=true) |
|
virtual std::string | GetTransportConnectionString () |
| Gets the connection string for our transport. More...
|
|
virtual std::string | GetTransportName () |
| Gets the name of our transport. More...
|
|
virtual std::string | GetName () const |
|
virtual std::string | GetVendor () const |
|
virtual std::string | GetSerial () const |
|
virtual std::string | GetDriverName () const =0 |
|
| SCPIDevice (SCPITransport *transport, bool identify=true) |
|
SCPITransport * | GetTransport () const |
|
|
bool | SendWriteValueCommand (Command command, double value) |
|
double | SendReadValueCommand (Command command) |
|
std::string | SendSimpleCommand (Command command) |
|
std::string | SendCommand (Command command, std::string commandString) |
|
void | DoSerializeConfiguration (YAML::Node &node, IDTable &table) |
| Serializes this oscilloscope's configuration to a YAML node.
|
|
void | DoLoadConfiguration (int version, const YAML::Node &node, IDTable &idmap) |
| Load instrument and channel configuration from a save file.
|
|
void | DoPreLoadConfiguration (int version, const YAML::Node &node, IDTable &idmap, ConfigWarningList &list) |
| Validate instrument and channel configuration from a save file.
|
|
void | DoSerializeConfiguration (YAML::Node &node, IDTable &table) |
|
|
std::recursive_mutex | m_transportMutex |
|
std::chrono::milliseconds | m_rateLimitingInterval = std::chrono::milliseconds(4) |
|
std::chrono::system_clock::time_point | m_nextCommandReady = std::chrono::system_clock::now() |
|
bool | m_on = false |
|
double | m_current = 0 |
|
double | m_voltage = 0 |
|
bool | m_constantCurrent = false |
|
std::list< sigc::slot< void(YAML::Node &, IDTable &)> > | m_serializers |
| List of methods which need to be called to serialize this node's configuration.
|
|
std::list< sigc::slot< void(int, const YAML::Node &, IDTable &)> > | m_loaders |
| List of methods which need to be called to deserialize this node's configuration.
|
|
std::list< sigc::slot< void(int, const YAML::Node &, IDTable &, ConfigWarningList &)> > | m_preloaders |
| List of methods which need to be called to pre-load this node's configuration.
|
|
std::vector< InstrumentChannel * > | m_channels |
| Set of all channels on this instrument.
|
|
SCPITransport * | m_transport |
|
std::string | m_vendor |
|
std::string | m_model |
|
std::string | m_serial |
|
std::string | m_fwVersion |
|