49 const std::string& hwname,
51 const std::string& color =
"#808080",
95 virtual void Refresh(vk::raii::CommandBuffer& cmdBuf, std::shared_ptr<QueueHandle> queue)
override;
virtual void Refresh()
Evaluates a filter graph node.
Definition: FlowGraphNode.cpp:87
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:200
Instrument * m_instrument
The instrument we're part of (may be null in the case of filters etc)
Definition: InstrumentChannel.h:274
A single channel of an active load.
Definition: LoadChannel.h:45
float GetVoltageMeasured()
Return the most recent (cached) voltage measurement.
Definition: LoadChannel.h:84
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
LoadChannel(const std::string &hwname, Load *load, const std::string &color="#808080", size_t index=0)
Initialize a load channel.
Definition: LoadChannel.cpp:53
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:46