30#ifndef MagnovaOscilloscope_h
31#define MagnovaOscilloscope_h
54#define c_digiChannelsPerBus 8
67 std::string converse(
const char* fmt, ...);
68 void sendOnly(
const char* fmt, ...);
69 bool sendWithAck(
const char* fmt, ...);
71 void protocolError(
bool flush,
const char* fmt, va_list ap);
72 void protocolError(
const char* fmt, ...);
73 void protocolErrorWithFlush(
const char* fmt, ...);
76 void IdentifyHardware();
77 void DetectBandwidth();
78 void SharedCtorInit();
82 void ParseFirmwareVersion();
86 static void Convert16BitSamples(
float* pout,
const uint16_t* pin,
float gain,
float offset,
size_t count);
102 virtual void SetChannelCoupling(
size_t i, OscilloscopeChannel::CouplingType type)
override;
112 virtual void SetChannelOffset(
size_t i,
size_t stream,
float offset)
override;
116 virtual bool CanInvert(
size_t i)
override;
117 virtual void Invert(
size_t i,
bool invert)
override;
123 virtual void Start()
override;
125 virtual void Stop()
override;
144 MEMORY_DEPTH_AUTO_FAST,
145 MEMORY_DEPTH_AUTO_MAX,
153 CAPTURE_MODE_EXTENDED
157 Model GetModelID() {
return m_modelid; }
162 virtual std::set<InterleaveConflict> GetInterleaveConflicts()
override;
240 virtual std::vector<std::string>
GetADCModeNames(
size_t channel)
override;
241 virtual size_t GetADCMode(
size_t channel)
override;
242 virtual void SetADCMode(
size_t channel,
size_t mode)
override;
249 uint32_t sampleCount;
250 uint32_t sampleStart;
251 uint32_t sampleLength;
261 std::optional<Metadata>
parseMetadata(
const std::vector<uint8_t>& data);
283 void PushFloat(std::string path,
float f);
303 CaptureMode GetCaptureMode();
305 static double GetCaptureScreenDivisions(MemoryDepthMode memoryMode, CaptureMode captureMode, uint64_t srate);
307 void PrepareAcquisition();
309 std::string GetDigitalChannelBankName(
size_t channel);
311 std::string GetChannelName(
size_t channel);
313 std::string GetPossiblyEmptyString(
const std::string& property);
315 size_t ReadWaveformBlock(std::vector<uint8_t>* data, std::function<
void(
float)> progress =
nullptr);
317 time_t ExtractTimestamp(
const std::string& time,
double& basetime);
319 std::vector<WaveformBase*> ProcessAnalogWaveform(
320 const std::vector<uint8_t>& data,
322 uint32_t num_sequences,
328 std::vector<SparseDigitalWaveform*> ProcessDigitalWaveform(
329 const std::vector<uint8_t>& data,
331 uint32_t num_sequences,
338 unsigned int m_analogChannelCount;
339 unsigned int m_digitalChannelCount;
340 unsigned int m_analogAndDigitalChannelCount;
341 size_t m_digitalChannelBase;
346 int m_fwMajorVersion;
347 int m_fwMinorVersion;
348 int m_fwPatchVersion;
353 bool m_hasFunctionGen;
354 bool m_hasI2cTrigger;
355 bool m_hasSpiTrigger;
361 bool m_triggerOneShot;
362 bool m_triggerForced;
365 std::map<size_t, float> m_channelVoltageRanges;
366 std::map<size_t, float> m_channelOffsets;
367 std::map<std::string, float> m_channelDigitalThresholds;
368 std::map<int, bool> m_channelsEnabled;
369 bool m_sampleRateValid;
370 int64_t m_sampleRate;
371 bool m_memoryDepthValid;
372 int64_t m_memoryDepth;
373 bool m_captureModeValid;
374 CaptureMode m_captudeMode;
375 bool m_timebaseScaleValid;
376 double m_timebaseScale;
377 MemoryDepthMode m_memoryDepthMode;
378 bool m_triggerOffsetValid;
379 int64_t m_triggerOffset;
380 std::map<size_t, int64_t> m_channelDeskew;
381 Multimeter::MeasurementTypes m_meterMode;
382 bool m_meterModeValid;
383 std::map<size_t, bool> m_probeIsActive;
384 std::map<size_t, bool> m_awgEnabled;
385 std::map<size_t, float> m_awgDutyCycle;
386 std::map<size_t, float> m_awgRange;
387 std::map<size_t, float> m_awgOffset;
388 std::map<size_t, float> m_awgFrequency;
389 std::map<size_t, float> m_awgRiseTime;
390 std::map<size_t, float> m_awgFallTime;
391 std::map<size_t, FunctionGenerator::WaveShape> m_awgShape;
392 std::map<size_t, FunctionGenerator::OutputImpedance> m_awgImpedance;
401 std::vector<OscilloscopeChannel*> m_digitalChannels;
405 const std::map<uint64_t, uint64_t> memoryDepthFastMap {
427 {10000000, 12000000},
428 {25000000, 12000000},
429 {40000000, 19200000},
430 {50000000, 12000000},
431 {100000000, 12000000},
432 {125000000, 15000000},
433 {250000000, 12000000},
434 {400000000, 19200000},
435 {500000000, 12000000},
436 {800000000, 19200000},
437 {1000000000, 12000000},
438 {1600000000, 19200000}
440 const std::map<uint64_t, uint64_t> memoryDepthMaxLowSrateMap {
455 {1000000, 120000000},
456 {2500000, 120000000},
457 {5000000, 120000000},
458 {10000000, 120000000},
459 {25000000, 120000000},
460 {50000000, 120000000},
461 {125000000, 150000000},
462 {250000000, 120000000},
463 {500000000, 120000000},
464 {1000000000, 120000000}
466 const std::map<uint64_t, uint64_t> memoryDepthMaxHighSrateMap {
480 {1000000, 240000000},
481 {2500000, 300000000},
482 {5000000, 240000000},
483 {10000000, 240000000},
484 {25000000, 300000000},
485 {50000000, 240000000},
486 {100000000, 240000000},
487 {200000000, 240000000},
488 {400000000, 192000000},
489 {800000000, 192000000},
490 {1600000000, 192000000}
494 static std::string GetDriverNameInternal();
Declaration of NthEdgeBurstTrigger.
Trigger when a signal stops toggling for some amount of time.
Definition: DropoutTrigger.h:44
Simple edge trigger.
Definition: EdgeTrigger.h:44
A single channel of a function generator.
Definition: FunctionGeneratorChannel.h:45
WaveShape
Predefined waveform shapes.
Definition: FunctionGenerator.h:55
OutputImpedance
Nominal output impedance for a function generator channel.
Definition: FunctionGenerator.h:259
Trigger on a glitch meeting certain width criteria.
Definition: GlitchTrigger.h:46
Definition: MagnovaOscilloscope.h:57
virtual bool GetFunctionChannelActive(int chan) override
Returns true if the function generator channel's output is enabled.
Definition: MagnovaOscilloscope.cpp:3314
virtual void EnableChannel(size_t i) override
Turn a channel on, given the index.
Definition: MagnovaOscilloscope.cpp:494
virtual uint64_t GetSampleRate() override
Gets the current sampling rate (in Hz) of this scope.
Definition: MagnovaOscilloscope.cpp:1942
virtual std::vector< unsigned int > GetChannelBandwidthLimiters(size_t i) override
Gets the set of available bandwidth limiters for an input channel.
Definition: MagnovaOscilloscope.cpp:707
virtual void SetFunctionChannelFrequency(int chan, float hz) override
Sets the frequency for a function generator output.
Definition: MagnovaOscilloscope.cpp:3455
void PushPulseWidthTrigger(PulseWidthTrigger *trig)
Pushes settings for a pulse width trigger to the instrument.
Definition: MagnovaOscilloscope.cpp:2811
virtual void SetSampleDepth(uint64_t depth) override
Sets the sample depth of the scope.
Definition: MagnovaOscilloscope.cpp:2036
virtual std::vector< uint64_t > GetSampleDepthsInterleaved() override
Get the legal memory depths for this scope in combined-channels mode.
Definition: MagnovaOscilloscope.cpp:1914
virtual float GetChannelVoltageRange(size_t i, size_t stream) override
Gets the range of the current channel configuration.
Definition: MagnovaOscilloscope.cpp:1752
virtual void SetADCMode(size_t channel, size_t mode) override
Sets the ADC mode for a channel.
Definition: MagnovaOscilloscope.cpp:2278
void GetTriggerSlope(Trigger *trig, std::string reply)
Processes the slope for an edge or edge-derived trigger.
Definition: MagnovaOscilloscope.cpp:2408
virtual void SetChannelCoupling(size_t i, OscilloscopeChannel::CouplingType type) override
Sets the coupling used for an input channel.
Definition: MagnovaOscilloscope.cpp:622
virtual double GetChannelAttenuation(size_t i) override
Gets the probe attenuation for an input channel.
Definition: MagnovaOscilloscope.cpp:665
void PullGlitchTrigger()
Reads settings for a glitch trigger from the instrument.
Definition: MagnovaOscilloscope.cpp:3148
virtual std::vector< std::string > GetTriggerTypes() override
Gets a list of triggers this instrument supports.
Definition: MagnovaOscilloscope.cpp:2497
std::optional< Metadata > parseMetadata(const std::vector< uint8_t > &data)
Parse metadata from the oscilloscope data.
Definition: MagnovaOscilloscope.cpp:878
virtual void PullTrigger() override
Updates m_trigger with any changes made from the instrument side.
Definition: MagnovaOscilloscope.cpp:2513
void PushRuntTrigger(RuntTrigger *trig)
Pushes settings for a runt trigger to the instrument.
Definition: MagnovaOscilloscope.cpp:2867
void PullEdgeTrigger()
Reads settings for an edge trigger from the instrument.
Definition: MagnovaOscilloscope.cpp:2707
virtual bool IsDigitalThresholdConfigurable() override
Checks if digital input threshold is configurable or fixed.
Definition: MagnovaOscilloscope.cpp:2349
virtual bool IsTriggerArmed() override
Checks if the trigger is currently armed.
Definition: MagnovaOscilloscope.cpp:827
virtual uint64_t GetSampleDepth() override
Gets the current sample depth of this scope.
Definition: MagnovaOscilloscope.cpp:1984
virtual void StartSingleTrigger() override
Arms the trigger for a single acquistion.
Definition: MagnovaOscilloscope.cpp:1668
virtual bool IsADCModeConfigurable() override
Returns true if the ADC is configurable, false if it can only run in one mode.
Definition: MagnovaOscilloscope.cpp:2262
virtual bool SetInterleaving(bool combine) override
Configures the scope to combine channels.
Definition: MagnovaOscilloscope.cpp:2253
virtual void Invert(size_t i, bool invert) override
Enables hardware polarity inversion for a channel, if supported.
Definition: MagnovaOscilloscope.cpp:790
virtual void SetTriggerOffset(int64_t offset) override
Sets the trigger offset.
Definition: MagnovaOscilloscope.cpp:2123
virtual std::vector< std::string > GetADCModeNames(size_t channel) override
Gets the names of the ADC modes for the bank a given channel is located in.
Definition: MagnovaOscilloscope.cpp:2267
virtual size_t GetADCMode(size_t channel) override
Gets the ADC mode for a channel.
Definition: MagnovaOscilloscope.cpp:2273
void PushGlitchTrigger(GlitchTrigger *trig)
Pushes settings for a glitch trigger to the instrument.
Definition: MagnovaOscilloscope.cpp:3190
virtual void SetFunctionChannelOutputImpedance(int chan, OutputImpedance z) override
Sets the currently selected output impedance for a function generator output (if supported)
Definition: MagnovaOscilloscope.cpp:3842
virtual float GetFunctionChannelDutyCycle(int chan) override
Gets the duty cycle for a function generator output.
Definition: MagnovaOscilloscope.cpp:3345
virtual void DisableChannel(size_t i) override
Turn a channel off, given the index.
Definition: MagnovaOscilloscope.cpp:535
virtual void SetFunctionChannelFallTime(int, float) override
Sets the fall time for a function generator output (if supported)
Definition: MagnovaOscilloscope.cpp:3910
virtual bool IsChannelEnabled(size_t i) override
Checks if a channel is enabled in hardware.
Definition: MagnovaOscilloscope.cpp:447
virtual void Start() override
Starts the instrument in continuous trigger mode.
Definition: MagnovaOscilloscope.cpp:1658
void PullPulseWidthTrigger()
Reads settings for an edge trigger from the instrument.
Definition: MagnovaOscilloscope.cpp:2766
virtual bool AcquireData() override
Pull data from the instrument.
Definition: MagnovaOscilloscope.cpp:1463
static void Convert16BitSamples(float *pout, const uint16_t *pin, float gain, float offset, size_t count)
Converts 16-bit ADC samples to floating point.
Definition: MagnovaOscilloscope.cpp:1218
void PullSlewRateTrigger()
Reads settings for a slew rate trigger from the instrument.
Definition: MagnovaOscilloscope.cpp:2881
virtual uint32_t GetInstrumentTypesForChannel(size_t i) const override
Returns a bitfield describing the set of instrument types that a given channel supports.
Definition: MagnovaOscilloscope.cpp:435
virtual void SetChannelAttenuation(size_t i, double atten) override
Sets the probe attenuation used for an input channel.
Definition: MagnovaOscilloscope.cpp:685
void PushNthEdgeBurstTrigger(NthEdgeBurstTrigger *trig)
Pushes settings for a Nth edge burst trigger to the instrument.
Definition: MagnovaOscilloscope.cpp:3240
virtual void SetDeskewForChannel(size_t channel, int64_t skew) override
Sets the deskew setting for a channel.
Definition: MagnovaOscilloscope.cpp:2178
virtual Oscilloscope::TriggerMode PollTrigger() override
Checks the curent trigger status.
Definition: MagnovaOscilloscope.cpp:832
virtual void Stop() override
Stops triggering.
Definition: MagnovaOscilloscope.cpp:1680
void BulkCheckChannelEnableState()
Optimized function for checking channel enable status en masse with less round trips to the scope.
Definition: MagnovaOscilloscope.cpp:993
void PullRuntTrigger()
Reads settings for a runt-pulse trigger from the instrument.
Definition: MagnovaOscilloscope.cpp:2825
void PushEdgeTrigger(EdgeTrigger *trig, const std::string trigType)
Pushes settings for an edge trigger to the instrument.
Definition: MagnovaOscilloscope.cpp:2735
virtual void SetChannelBandwidthLimit(size_t i, unsigned int limit_mhz) override
Sets the bandwidth limit for an input channel.
Definition: MagnovaOscilloscope.cpp:755
Trigger::Condition GetCondition(std::string reply)
Parses a trigger condition.
Definition: MagnovaOscilloscope.cpp:2445
void PullUartTrigger()
Reads settings for a UART trigger from the instrument.
Definition: MagnovaOscilloscope.cpp:2935
virtual std::vector< uint64_t > GetSampleDepthsNonInterleaved() override
Get the legal memory depths for this scope in all-channels mode.
Definition: MagnovaOscilloscope.cpp:1850
virtual OutputImpedance GetFunctionChannelOutputImpedance(int chan) override
Gets the currently selected output impedance for a function generator output (if supported)
Definition: MagnovaOscilloscope.cpp:3825
bool IsReducedSampleRate()
Returns true if the scope is in reduced sample rate.
Definition: MagnovaOscilloscope.cpp:1063
virtual std::vector< uint64_t > GetSampleRatesNonInterleaved() override
Get the legal sampling rates (in Hz) for this scope in all-channels mode.
Definition: MagnovaOscilloscope.cpp:1796
virtual std::vector< OscilloscopeChannel::CouplingType > GetAvailableCouplings(size_t i) override
Gets the set of legal coupling values for an input channel.
Definition: MagnovaOscilloscope.cpp:571
virtual void SetFunctionChannelOffset(int chan, float offset) override
Sets the DC offset for a function generator output.
Definition: MagnovaOscilloscope.cpp:3427
virtual void SetChannelVoltageRange(size_t i, size_t stream, float range) override
Sets the range of the current channel configuration.
Definition: MagnovaOscilloscope.cpp:1780
virtual float GetChannelOffset(size_t i, size_t stream) override
Gets the offset, in volts, for a given channel.
Definition: MagnovaOscilloscope.cpp:1712
virtual DigitalBank GetDigitalBank(size_t channel) override
Gets the bank containing a given channel.
Definition: MagnovaOscilloscope.cpp:2325
uint64_t GetMaxAutoMemoryDepth(uint64_t original)
Returns the max memory depth for auto mode.
Definition: MagnovaOscilloscope.cpp:1148
virtual std::vector< DigitalBank > GetDigitalBanks() override
Gets the digital channel banks for this instrument.
Definition: MagnovaOscilloscope.cpp:2305
virtual bool IsInterleaving() override
Checks if the scope is currently combining channels.
Definition: MagnovaOscilloscope.cpp:2235
void PullDropoutTrigger()
Reads settings for a dropout trigger from the instrument.
Definition: MagnovaOscilloscope.cpp:2663
virtual void DetectAnalogChannels()
Figures out how many analog channels we have, and add them to the device.
Definition: MagnovaOscilloscope.cpp:314
void PullNthEdgeBurstTrigger()
Reads settings for an Nth-edge-burst trigger from the instrument.
Definition: MagnovaOscilloscope.cpp:3203
static void Convert16BitSamplesGeneric(float *pout, const uint16_t *pin, float gain, float offset, size_t count)
Converts raw ADC samples to floating point.
Definition: MagnovaOscilloscope.cpp:1257
virtual float GetDigitalHysteresis(size_t channel) override
Gets the hysteresis for a digital input.
Definition: MagnovaOscilloscope.cpp:2354
void PushSlewRateTrigger(SlewRateTrigger *trig)
Pushes settings for a slew rate trigger to the instrument.
Definition: MagnovaOscilloscope.cpp:2921
virtual std::vector< uint64_t > GetSampleRatesInterleaved() override
Get the legal sampling rates (in Hz) for this scope in combined-channels mode.
Definition: MagnovaOscilloscope.cpp:1845
virtual void SetChannelDisplayName(size_t i, std::string name) override
Sets the hardware display name for a channel. This is an arbitrary user-selected string.
Definition: MagnovaOscilloscope.cpp:809
virtual float GetFunctionChannelFallTime(int chan) override
Gets the fall time for a function generator output (if supported)
Definition: MagnovaOscilloscope.cpp:3890
void AddDigitalChannels(unsigned int count)
Creates digital channels for the oscilloscope.
Definition: MagnovaOscilloscope.cpp:287
uint64_t GetMemoryDepthForSrate(uint64_t srate)
Returns the memory depth for a given sample rate in auto mode.
Definition: MagnovaOscilloscope.cpp:1091
virtual int64_t GetTriggerOffset() override
Gets the trigger offset.
Definition: MagnovaOscilloscope.cpp:2141
void PushUartTrigger(UartTrigger *trig)
Pushes settings for a UART trigger to the instrument.
Definition: MagnovaOscilloscope.cpp:3014
virtual int64_t GetDeskewForChannel(size_t channel) override
Gets the deskew setting for a channel.
Definition: MagnovaOscilloscope.cpp:2197
void PushDropoutTrigger(DropoutTrigger *trig)
Pushes settings for a dropout trigger to the instrument.
Definition: MagnovaOscilloscope.cpp:2697
virtual WaveShape GetFunctionChannelShape(int chan) override
Gets the waveform shape for a function generator output.
Definition: MagnovaOscilloscope.cpp:3463
virtual void SetUseExternalRefclk(bool external) override
Configures the instrument's clock source.
Definition: MagnovaOscilloscope.cpp:2108
virtual void SetDigitalThreshold(size_t channel, float level) override
Gets the threshold for a digital input.
Definition: MagnovaOscilloscope.cpp:2389
virtual void SetChannelOffset(size_t i, size_t stream, float offset) override
Sets the offset for a given channel.
Definition: MagnovaOscilloscope.cpp:1740
virtual float GetDigitalThreshold(size_t channel) override
Gets the threshold for a digital input.
Definition: MagnovaOscilloscope.cpp:2359
virtual unsigned int GetMeasurementTypes()
See what measurement capabilities we have.
Definition: MagnovaOscilloscope.cpp:418
virtual void EnableTriggerOutput() override
Enables the trigger output, configuring a shared auxiliary port for this purpose if needed.
Definition: MagnovaOscilloscope.cpp:2103
virtual void SetFunctionChannelRiseTime(int, float) override
Sets the rise time for a function generator output (if supported)
Definition: MagnovaOscilloscope.cpp:3882
virtual unsigned int GetChannelBandwidthLimit(size_t i) override
Gets the bandwidth limit for an input channel.
Definition: MagnovaOscilloscope.cpp:730
virtual float GetFunctionChannelFrequency(int chan) override
Gets the frequency for a function generator output.
Definition: MagnovaOscilloscope.cpp:3435
virtual std::string GetChannelDisplayName(size_t i) override
Gets the hardware display name for a channel. This is an arbitrary user-selected string.
Definition: MagnovaOscilloscope.cpp:815
void PullWindowTrigger()
Reads settings for a window trigger from the instrument.
Definition: MagnovaOscilloscope.cpp:3097
virtual float GetFunctionChannelRiseTime(int) override
Gets the rise time for a function generator output (if supported)
Definition: MagnovaOscilloscope.cpp:3862
void PushCondition(const std::string &path, Trigger::Condition cond)
Pushes settings for a trigger condition under a .Condition field.
Definition: MagnovaOscilloscope.cpp:2466
virtual std::vector< WaveShape > GetAvailableWaveformShapes(int chan) override
Query the set of available pre-defined waveforms for this generator.
Definition: MagnovaOscilloscope.cpp:3257
unsigned int m_maxBandwidth
Maximum bandwidth we support, in MHz.
Definition: MagnovaOscilloscope.h:358
virtual void SetFunctionChannelDutyCycle(int chan, float duty) override
Sets the duty cycle for a function generator output.
Definition: MagnovaOscilloscope.cpp:3368
virtual void FlushConfigCache() override
Instruments are allowed to cache configuration settings to reduce round trip queries to the device.
Definition: MagnovaOscilloscope.cpp:376
virtual void PushTrigger() override
Pushes changes made to m_trigger to the instrument.
Definition: MagnovaOscilloscope.cpp:2585
virtual bool CanEnableChannel(size_t i) override
Determines if a channel can be enabled.
Definition: MagnovaOscilloscope.cpp:529
virtual OscilloscopeChannel * GetExternalTrigger() override
Returns the external trigger input channel, if we have one.
Definition: MagnovaOscilloscope.cpp:371
virtual void SetFunctionChannelAmplitude(int chan, float amplitude) override
Sets the amplitude for a function generator output.
Definition: MagnovaOscilloscope.cpp:3399
virtual bool CanInvert(size_t i) override
Checks if a channel is capable of hardware polarity inversion.
Definition: MagnovaOscilloscope.cpp:784
virtual float GetFunctionChannelOffset(int chan) override
Gets the DC offset for a function generator output.
Definition: MagnovaOscilloscope.cpp:3407
virtual void SetFunctionChannelActive(int chan, bool on) override
Turns a function generator channel on or off.
Definition: MagnovaOscilloscope.cpp:3337
virtual bool HasFunctionRiseFallTimeControls(int chan) override
Determines if the function generator allows control over rise/fall times.
Definition: MagnovaOscilloscope.cpp:3856
virtual void ForceTrigger() override
Forces a single acquisition as soon as possible.
Definition: MagnovaOscilloscope.cpp:1694
virtual void SetDigitalHysteresis(size_t channel, float level) override
Sets the hysteresis for a digital input.
Definition: MagnovaOscilloscope.cpp:2384
virtual bool IsDigitalHysteresisConfigurable() override
Checks if digital input hysteresis is configurable or fixed.
Definition: MagnovaOscilloscope.cpp:2344
void PullTriggerSource(Trigger *trig, std::string triggerModeName, bool isUart)
Reads the source of a trigger from the instrument.
Definition: MagnovaOscilloscope.cpp:2558
unsigned int GetActiveChannelsCount()
Returns the number of active analog channels and digital probes to determine Memory Depth available p...
Definition: MagnovaOscilloscope.cpp:1036
virtual OscilloscopeChannel::CouplingType GetChannelCoupling(size_t i) override
Gets the coupling used for an input channel.
Definition: MagnovaOscilloscope.cpp:595
virtual bool IsInverted(size_t i) override
Checks if hardware polarity inversion is enabled for a channel.
Definition: MagnovaOscilloscope.cpp:798
virtual void SetFunctionChannelShape(int chan, WaveShape shape) override
Sets the waveform shape for a function generator output.
Definition: MagnovaOscilloscope.cpp:3591
virtual float GetFunctionChannelAmplitude(int chan) override
Gets the amplitude for a function generator output.
Definition: MagnovaOscilloscope.cpp:3377
void PushWindowTrigger(WindowTrigger *trig)
Pushes settings for a window trigger to the instrument.
Definition: MagnovaOscilloscope.cpp:3127
virtual void SetSampleRate(uint64_t rate) override
Sets the sample rate of the scope, in Hz.
Definition: MagnovaOscilloscope.cpp:2062
virtual unsigned int GetInstrumentTypes() const override
See what features we have.
Definition: MagnovaOscilloscope.cpp:427
double GetTimebaseScale()
Definition: MagnovaOscilloscope.cpp:1969
Nth Edge Burst Trigger: triggers on a specific edge within a burst.
Definition: NthEdgeBurstTrigger.h:44
A single channel on an oscilloscope.
Definition: OscilloscopeChannel.h:49
TriggerMode
Definition: Oscilloscope.h:396
Trigger on a pulse meeting certain width criteria.
Definition: PulseWidthTrigger.h:44
Runt trigger - trigger when a pulse of a given width crosses one threshold but not the second.
Definition: RuntTrigger.h:46
An SCPI-based function generator.
Definition: SCPIFunctionGenerator.h:38
An SCPI-based oscilloscope.
Definition: SCPIOscilloscope.h:38
Abstraction of a transport layer for moving SCPI data between endpoints.
Definition: SCPITransport.h:47
Slew rate trigger - trigger when an edge rate meets the specified conditions.
Definition: SlewRateTrigger.h:46
Abstract base class for oscilloscope / logic analyzer trigger inputs.
Definition: Trigger.h:46
Condition
Conditions for triggers that perform logical comparisons of values.
Definition: Trigger.h:69
Trigger when a UART sees a certain data pattern.
Definition: UartTrigger.h:56
Window trigger - detect when the signal leaves a specified range.
Definition: WindowTrigger.h:46