90 std::string GetChannelColor(
size_t i);
110 static std::vector<SCPIInstrumentModel> GetDriverSupportedModels()
114 {
"tinySA", {{ SCPITransportType::TRANSPORT_UART,
"COM<x>" }}},
115 {
"tinySA ULTRA", {{ SCPITransportType::TRANSPORT_UART,
"COM<x>" }}}
117 {
"tinySA", {{ SCPITransportType::TRANSPORT_UART,
"/dev/ttyUSB<x>" }}},
118 {
"tinySA ULTRA", {{ SCPITransportType::TRANSPORT_UART,
"/dev/ttyUSB<x>" }}}
122 OSCILLOSCOPE_INITPROC(
TinySA)
Definition AcceleratorBuffer.h:204
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:53
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:228
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:133
virtual void SetSpan(int64_t span) override
Sets the span for frequency-domain channels.
Definition TinySA.cpp:390
virtual bool AcquireData() override
Pull data from the instrument.
Definition TinySA.cpp:270
virtual std::vector< uint64_t > GetSampleDepthsNonInterleaved() override
Get the legal memory depths for this scope in all-channels mode.
Definition TinySA.cpp:363
virtual int64_t GetCenterFrequency(size_t channel) override
Gets the center frequency for a frequency-domain channel.
Definition TinySA.cpp:425
virtual void SetCenterFrequency(size_t channel, int64_t freq) override
Sets the center frequency for frequency-domain channels.
Definition TinySA.cpp:410
static std::string GetDriverNameInternal()
Return the constant driver name string "tektronix".
Definition TinySA.cpp:262
virtual int64_t GetSpan() override
Gets the span for frequency-domain channels.
Definition TinySA.cpp:405
virtual void SetResolutionBandwidth(int64_t rbw) override
Gets the resolution bandwidth for frequency-domain channels.
Definition TinySA.cpp:381