30#ifndef PowerSupplyChannel_h
31#define PowerSupplyChannel_h
43 const std::string&
color =
"#808080",
54 STREAM_VOLTAGE_MEASURED,
55 STREAM_VOLTAGE_SET_POINT,
56 STREAM_CURRENT_MEASURED,
57 STREAM_CURRENT_SET_POINT
60 float GetVoltageMeasured()
63 float GetVoltageSetPoint()
66 float GetCurrentMeasured()
69 float GetCurrentSetPoint()
72 virtual void Refresh(vk::raii::CommandBuffer& cmdBuf, std::shared_ptr<QueueHandle> queue)
override;
75 virtual PhysicalConnector GetPhysicalConnector()
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 a power supply.
Definition PowerSupplyChannel.h:37
virtual bool ValidateChannel(size_t i, StreamDescriptor stream) override
Check if a stream is allowed to be connected to the given input.
Definition PowerSupplyChannel.cpp:66
A generic power supply.
Definition PowerSupply.h:37
Descriptor for a single stream coming off a channel.
Definition StreamDescriptor.h:47