37#ifndef ComplexChannel_h
38#define ComplexChannel_h
57 const std::string&
color,
63 AddStream(yunit,
"I", Stream::STREAM_TYPE_ANALOG);
64 AddStream(yunit,
"Q", Stream::STREAM_TYPE_ANALOG);
65 AddStream(
Unit(Unit::UNIT_HZ),
"center", Stream::STREAM_TYPE_ANALOG_SCALAR);
68 void UpdateCenterFrequency(
float freq)
72 virtual PhysicalConnector GetPhysicalConnector()
override
73 {
return ComplexChannel::CONNECTOR_SMA; }
Definition AcceleratorBuffer.h:204
An OscilloscopeChannel storing complex-valued data.
Definition ComplexChannel.h:51
std::vector< Stream > m_streams
Configuration data for each of our output streams.
Definition InstrumentChannel.h:344
virtual size_t AddStream(Unit yunit, const std::string &name, Stream::StreamType stype, uint8_t flags=0)
Adds a new data stream to the channel.
Definition InstrumentChannel.cpp:125
A single channel on an oscilloscope.
Definition OscilloscopeChannel.h:49
Generic representation of an oscilloscope, logic analyzer, or spectrum analyzer.
Definition Oscilloscope.h:51
A unit of measurement, plus conversion to pretty-printed output.
Definition Unit.h:59