36#ifndef CopperMountainVNA_h
37#define CopperMountainVNA_h
57 virtual void Start()
override;
59 virtual void Stop()
override;
69 virtual void SetSpan(int64_t span)
override;
70 virtual int64_t
GetSpan()
override;
82 bool m_triggerOneShot;
84 int64_t m_memoryDepth;
94 static std::string GetDriverNameInternal();
Driver for Copper Mountain VNAs.
Definition: CopperMountainVNA.h:46
virtual bool IsTriggerArmed() override
Checks if the trigger is currently armed.
Definition: CopperMountainVNA.cpp:233
virtual uint64_t GetSampleDepth() override
Gets the current sample depth of this scope.
Definition: CopperMountainVNA.cpp:342
virtual int64_t GetResolutionBandwidth() override
Gets the resolution bandwidth for frequency-domain channels.
Definition: CopperMountainVNA.cpp:353
virtual void PushTrigger() override
Pushes changes made to m_trigger to the instrument.
Definition: CopperMountainVNA.cpp:239
virtual void Stop() override
Stops triggering.
Definition: CopperMountainVNA.cpp:218
virtual void PullTrigger() override
Updates m_trigger with any changes made from the instrument side.
Definition: CopperMountainVNA.cpp:243
virtual bool AcquireData() override
Pull data from the instrument.
Definition: CopperMountainVNA.cpp:247
virtual void SetSpan(int64_t span) override
Sets the span for frequency-domain channels.
Definition: CopperMountainVNA.cpp:358
virtual int64_t GetCenterFrequency(size_t channel) override
Gets the center frequency for a frequency-domain channel.
Definition: CopperMountainVNA.cpp:395
virtual int64_t GetSpan() override
Gets the span for frequency-domain channels.
Definition: CopperMountainVNA.cpp:374
virtual void Start() override
Starts the instrument in continuous trigger mode.
Definition: CopperMountainVNA.cpp:202
std::string GetChannelColor(size_t i)
Color the channels (blue-red-green-yellow-purple-gray-cyan-magenta)
Definition: CopperMountainVNA.cpp:136
virtual void StartSingleTrigger() override
Arms the trigger for a single acquistion.
Definition: CopperMountainVNA.cpp:210
virtual std::vector< uint64_t > GetSampleDepthsNonInterleaved() override
Get the legal memory depths for this scope in all-channels mode.
Definition: CopperMountainVNA.cpp:329
virtual void ForceTrigger() override
Forces a single acquisition as soon as possible.
Definition: CopperMountainVNA.cpp:225
virtual Oscilloscope::TriggerMode PollTrigger() override
Checks the curent trigger status.
Definition: CopperMountainVNA.cpp:185
virtual void SetSampleDepth(uint64_t depth) override
Sets the sample depth of the scope.
Definition: CopperMountainVNA.cpp:347
virtual OscilloscopeChannel * GetExternalTrigger() override
Returns the external trigger input channel, if we have one.
Definition: CopperMountainVNA.cpp:180
virtual void SetCenterFrequency(size_t channel, int64_t freq) override
Sets the center frequency for frequency-domain channels.
Definition: CopperMountainVNA.cpp:379
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