64 virtual void Start()
override;
66 virtual void Stop()
override;
77 virtual void SetSpan(int64_t span)
override;
78 virtual int64_t
GetSpan()
override;
91 MODEL_NANOVNA_F_DEEPELEC,
103 bool m_triggerArmed =
false;
104 bool m_triggerOneShot =
false;
106 int64_t m_sampleDepth = 0;
107 size_t m_maxDeviceSampleDepth = 0;
109 std::map<int64_t,int64_t> m_rbwValues;
111 Model m_nanoVNAModel = MODEL_UNKNOWN;
114 int64_t m_sweepStart;
121 static std::string GetDriverNameInternal();
Helper class for command line drivers: provides helper methods for command line based communication w...
Definition: CommandLineDriver.h:46
Simple edge trigger.
Definition: EdgeTrigger.h:44
NanoVNA - driver for talking to a NanoVNA using the NanoVNA 5 software.
Definition: NanoVNA.h:47
virtual std::vector< uint64_t > GetSampleDepthsNonInterleaved() override
Get the legal memory depths for this scope in all-channels mode.
Definition: NanoVNA.cpp:292
virtual void SetResolutionBandwidth(int64_t rbw) override
Gets the resolution bandwidth for frequency-domain channels.
Definition: NanoVNA.cpp:493
virtual int64_t GetResolutionBandwidth() override
Gets the resolution bandwidth for frequency-domain channels.
Definition: NanoVNA.cpp:488
virtual uint64_t GetSampleDepth() override
Gets the current sample depth of this scope.
Definition: NanoVNA.cpp:309
virtual bool AcquireData() override
Pull data from the instrument.
Definition: NanoVNA.cpp:319
std::string GetChannelColor(size_t i)
Color the channels based on Pico's standard color sequence (blue-red-green-yellow-purple-gray-cyan-ma...
Definition: NanoVNA.cpp:216
virtual Oscilloscope::TriggerMode PollTrigger() override
Checks the curent trigger status.
Definition: NanoVNA.cpp:247
virtual void PullTrigger() override
Updates m_trigger with any changes made from the instrument side.
Definition: NanoVNA.cpp:280
void SendBandwidthValue(int64_t bandwidth)
Set the bandwidth value.
Definition: NanoVNA.cpp:477
virtual bool IsTriggerArmed() override
Checks if the trigger is currently armed.
Definition: NanoVNA.cpp:275
virtual void StartSingleTrigger() override
Arms the trigger for a single acquistion.
Definition: NanoVNA.cpp:257
virtual void Stop() override
Stops triggering.
Definition: NanoVNA.cpp:263
virtual void PushTrigger() override
Pushes changes made to m_trigger to the instrument.
Definition: NanoVNA.cpp:285
virtual void Start() override
Starts the instrument in continuous trigger mode.
Definition: NanoVNA.cpp:251
virtual void SetSpan(int64_t span) override
Sets the span for frequency-domain channels.
Definition: NanoVNA.cpp:508
virtual void SetSampleDepth(uint64_t depth) override
Sets the sample depth of the scope.
Definition: NanoVNA.cpp:314
virtual void ForceTrigger() override
Forces a single acquisition as soon as possible.
Definition: NanoVNA.cpp:269
virtual void SetCenterFrequency(size_t channel, int64_t freq) override
Sets the center frequency for frequency-domain channels.
Definition: NanoVNA.cpp:528
virtual int64_t GetSpan() override
Gets the span for frequency-domain channels.
Definition: NanoVNA.cpp:523
virtual OscilloscopeChannel * GetExternalTrigger() override
Returns the external trigger input channel, if we have one.
Definition: NanoVNA.cpp:242
virtual int64_t GetCenterFrequency(size_t channel) override
Gets the center frequency for a frequency-domain channel.
Definition: NanoVNA.cpp:543
A single channel on an oscilloscope.
Definition: OscilloscopeChannel.h:49
TriggerMode
Definition: Oscilloscope.h:411
Abstraction of a transport layer for moving SCPI data between endpoints.
Definition: SCPITransport.h:47
Generic representation of a vector network analyzer.
Definition: SCPIVNA.h:43