74 virtual void SetSpan(int64_t span)
override;
75 virtual int64_t
GetSpan()
override;
87 size_t ConverseBinary(
const std::string commandString, std::vector<uint8_t> &data,
size_t length);
90 std::string GetChannelColor(
size_t i);
103 int64_t m_modelDbmOffset;
107 OSCILLOSCOPE_INITPROC(
TinySA)
Helper class for command line drivers: provides helper methods for command line based communication w...
Definition: CommandLineDriver.h:46
Generic representation of a Spectrum Analyzer.
Definition: SCPISA.h:43
Abstraction of a transport layer for moving SCPI data between endpoints.
Definition: SCPITransport.h:47
Driver for TinySA and TinySA Ultra Spectrum Analizers.
Definition: TinySA.h:52
int64_t ConverseRbwValue(bool sendValue=false, int64_t value=0)
Set and/or read the rbw value from the device.
Definition: TinySA.cpp:225
virtual void SetSpan(int64_t span) override
Sets the span for frequency-domain channels.
Definition: TinySA.cpp:381
virtual bool AcquireData() override
Pull data from the instrument.
Definition: TinySA.cpp:267
virtual std::vector< uint64_t > GetSampleDepthsNonInterleaved() override
Get the legal memory depths for this scope in all-channels mode.
Definition: TinySA.cpp:354
size_t ConverseBinary(const std::string commandString, std::vector< uint8_t > &data, size_t length)
Special method used to converse with the device with a binary response (e.g. spanraw command)
Definition: TinySA.cpp:130
virtual int64_t GetCenterFrequency(size_t channel) override
Gets the center frequency for a frequency-domain channel.
Definition: TinySA.cpp:416
virtual void SetCenterFrequency(size_t channel, int64_t freq) override
Sets the center frequency for frequency-domain channels.
Definition: TinySA.cpp:401
static std::string GetDriverNameInternal()
Return the constant driver name string "tektronix".
Definition: TinySA.cpp:259
virtual int64_t GetSpan() override
Gets the span for frequency-domain channels.
Definition: TinySA.cpp:396
virtual void SetResolutionBandwidth(int64_t rbw) override
Gets the resolution bandwidth for frequency-domain channels.
Definition: TinySA.cpp:372
TinySA(SCPITransport *transport)
Initialize the driver.
Definition: TinySA.cpp:52