51 const std::string&
color =
"#808080",
95 virtual void Refresh(vk::raii::CommandBuffer& cmdBuf, std::shared_ptr<QueueHandle> queue)
override;
Definition AcceleratorBuffer.h:204
A single channel of an instrument.
Definition InstrumentChannel.h:63
float GetScalarValue(size_t stream)
Gets the value of a scalar data stream.
Definition InstrumentChannel.h:205
Instrument * m_instrument
The instrument we're part of (may be null in the case of filters etc)
Definition InstrumentChannel.h:313
A single channel of an active load.
Definition LoadChannel.h:45
float GetVoltageMeasured()
Return the most recent (cached) voltage measurement.
Definition LoadChannel.h:84
virtual bool ValidateChannel(size_t i, StreamDescriptor stream) override
Check if a stream is allowed to be connected to the given input.
Definition LoadChannel.cpp:75
float GetCurrentMeasured()
Return the most recent (current) current measurement.
Definition LoadChannel.h:88
StreamIndexes
Well defined stream IDs used by LoadChannel.
Definition LoadChannel.h:72
@ STREAM_VOLTAGE_MEASURED
Actual voltage being supplied to the load.
Definition LoadChannel.h:74
@ STREAM_CURRENT_MEASURED
Actual current being drawn by the load.
Definition LoadChannel.h:77
@ STREAM_SET_POINT
Set point of the load (voltage, current, power, or resistance depending on operating mode)
Definition LoadChannel.h:80
Load * GetLoad()
Get the parent load of this channel.
Definition LoadChannel.h:57
float GetSetPoint()
Return the the set point of the load voltage measurement.
Definition LoadChannel.h:92
Base class for all electronic load drivers.
Definition Load.h:45
Descriptor for a single stream coming off a channel.
Definition StreamDescriptor.h:47