37#ifndef LeCroyOscilloscope_h
38#define LeCroyOscilloscope_h
74 void IdentifyHardware();
75 void SharedCtorInit();
82 virtual std::string GetName()
const override;
83 virtual std::string GetVendor()
const override;
84 virtual std::string GetSerial()
const override;
99 virtual void SetChannelCoupling(
size_t i, OscilloscopeChannel::CouplingType type)
override;
109 virtual void SetChannelOffset(
size_t i,
size_t stream,
float offset)
override;
113 virtual bool CanInvert(
size_t i)
override;
114 virtual void Invert(
size_t i,
bool invert)
override;
117 virtual void AutoZero(
size_t i)
override;
122 virtual void SetInputMux(
size_t i,
size_t select)
override;
137 virtual void Start()
override;
139 virtual void Stop()
override;
149 virtual int GetMeterChannelCount();
150 virtual int GetCurrentMeterChannel()
override;
151 virtual void SetCurrentMeterChannel(
int chan)
override;
152 virtual void StartMeter()
override;
153 virtual void StopMeter()
override;
154 virtual void SetMeterAutoRange(
bool enable)
override;
155 virtual bool GetMeterAutoRange()
override;
157 virtual Multimeter::MeasurementTypes GetMeterMode()
override;
158 virtual void SetMeterMode(Multimeter::MeasurementTypes type)
override;
193 MODEL_LABMASTER_ZI_A,
205 MODEL_WAVEMASTER_8ZI,
206 MODEL_WAVEMASTER_8ZI_A,
207 MODEL_WAVEMASTER_8ZI_B,
212 MODEL_WAVERUNNER_8K_HD,
221 {
return m_modelid; }
226 virtual std::set<InterleaveConflict> GetInterleaveConflicts()
override;
241 bool HasDBICapability();
242 bool IsDBIEnabled(
size_t channel);
268 virtual std::vector<std::string>
GetADCModeNames(
size_t channel)
override;
269 virtual size_t GetADCMode(
size_t channel)
override;
270 virtual void SetADCMode(
size_t channel,
size_t mode)
override;
273 static time_t ExtractTimestamp(
unsigned char* wavedesc,
double& basetime);
301 void PushFloat(std::string path,
float f);
316 bool ReadWaveformBlock(std::string& data);
318 std::vector<std::string>& wavedescs,
320 unsigned int& firstEnabledChannel,
322 void RequestWaveforms(
bool* enabled, uint32_t num_sequences,
bool denabled);
323 std::vector<WaveformBase*> ProcessAnalogWaveform(
326 std::string& wavedesc,
327 uint32_t num_sequences,
332 std::map<int, SparseDigitalWaveform*> ProcessDigitalWaveform(std::string& data, int64_t analog_hoff);
335 unsigned int m_analogChannelCount;
336 unsigned int m_digitalChannelCount;
337 size_t m_digitalChannelBase;
344 bool m_hasFunctionGen;
345 bool m_hasFastSampleRate;
346 int m_memoryDepthOption;
347 bool m_hasI2cTrigger;
348 bool m_hasSpiTrigger;
349 bool m_hasUartTrigger;
350 bool m_has8b10bTrigger;
351 bool m_hasNrzTrigger;
367 std::map<size_t, float> m_channelVoltageRanges;
368 std::map<size_t, float> m_channelOffsets;
369 std::map<size_t, float> m_channelDigitalThresholds;
370 std::map<size_t, size_t> m_channelNavg;
371 std::map<int, bool> m_channelsEnabled;
372 bool m_sampleRateValid;
373 int64_t m_sampleRate;
374 bool m_memoryDepthValid;
375 int64_t m_memoryDepth;
376 bool m_triggerOffsetValid;
377 int64_t m_triggerOffset;
378 std::map<size_t, int64_t> m_channelDeskew;
380 bool m_interleavingValid;
381 Multimeter::MeasurementTypes m_meterMode;
382 bool m_meterModeValid;
383 std::map<size_t, bool> m_probeIsActive;
384 std::map<size_t, bool> m_channelIsInverted;
388 bool m_highDefinition;
400 std::vector<OscilloscopeChannel*> m_digitalChannels;
403 static std::string GetDriverNameInternal();
A hardware 8B/10B pattern trigger.
Definition: CDR8B10BTrigger.h:46
A hardware NRZ pattern trigger.
Definition: CDRNRZPatternTrigger.h:49
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
A Teledyne LeCroy oscilloscope using the MAUI/XStream command set.
Definition: LeCroyOscilloscope.h:64
virtual void SetFunctionChannelAmplitude(int chan, float amplitude) override
Sets the amplitude for a function generator output.
Definition: LeCroyOscilloscope.cpp:2133
virtual void SetADCMode(size_t channel, size_t mode) override
Sets the ADC mode for a channel.
Definition: LeCroyOscilloscope.cpp:4110
virtual std::vector< std::string > GetInputMuxNames(size_t i) override
Gets names for the input mux ports of a channel.
Definition: LeCroyOscilloscope.cpp:1832
void PullDropoutTrigger()
Reads settings for a dropout trigger from the instrument.
Definition: LeCroyOscilloscope.cpp:4584
virtual Oscilloscope::TriggerMode PollTrigger() override
Checks the curent trigger status.
Definition: LeCroyOscilloscope.cpp:2276
virtual void SetSampleRate(uint64_t rate) override
Sets the sample rate of the scope, in Hz.
Definition: LeCroyOscilloscope.cpp:3702
virtual void SetInputMux(size_t i, size_t select) override
Sets the input mux for a channel.
Definition: LeCroyOscilloscope.cpp:1844
virtual void SetTriggerOffset(int64_t offset) override
Sets the trigger offset.
Definition: LeCroyOscilloscope.cpp:3793
bool m_triggerOneShot
True if current trigger is a single-shot and should not re-arm.
Definition: LeCroyOscilloscope.h:364
virtual double GetChannelAttenuation(size_t i) override
Gets the probe attenuation for an input channel.
Definition: LeCroyOscilloscope.cpp:1446
virtual bool IsDigitalThresholdConfigurable() override
Checks if digital input threshold is configurable or fixed.
Definition: LeCroyOscilloscope.cpp:4177
virtual uint64_t GetSampleDepth() override
Gets the current sample depth of this scope.
Definition: LeCroyOscilloscope.cpp:3661
virtual void PushTrigger() override
Pushes changes made to m_trigger to the instrument.
Definition: LeCroyOscilloscope.cpp:5022
virtual size_t GetNumAverages(size_t i) override
Returns the number of averages the channel is configured for.
Definition: LeCroyOscilloscope.cpp:3720
void PushGlitchTrigger(GlitchTrigger *trig)
Pushes settings for a glitch trigger to the instrument.
Definition: LeCroyOscilloscope.cpp:5448
virtual DigitalBank GetDigitalBank(size_t channel) override
Gets the bank containing a given channel.
Definition: LeCroyOscilloscope.cpp:4153
virtual void EnableTriggerOutput() override
Enables the trigger output, configuring a shared auxiliary port for this purpose if needed.
Definition: LeCroyOscilloscope.cpp:3763
Trigger::Condition GetCondition(std::string reply)
Parses a trigger condition.
Definition: LeCroyOscilloscope.cpp:5005
virtual void SetFunctionChannelRiseTime(int chan, float fs) override
Sets the rise time for a function generator output (if supported)
Definition: LeCroyOscilloscope.cpp:2229
virtual std::vector< uint64_t > GetSampleDepthsNonInterleaved() override
Get the legal memory depths for this scope in all-channels mode.
Definition: LeCroyOscilloscope.cpp:3386
virtual SamplingMode GetSamplingMode() override
Gets the current sampling mode of the instrument.
Definition: LeCroyOscilloscope.cpp:3975
virtual void DetectAnalogChannels()
Figures out how many analog channels we have, and add them to the device.
Definition: LeCroyOscilloscope.cpp:910
void Pull8b10bTrigger()
Reads settings for an 8B/10B trigger from the instrument.
Definition: LeCroyOscilloscope.cpp:4371
virtual void StartSingleTrigger() override
Arms the trigger for a single acquistion.
Definition: LeCroyOscilloscope.cpp:3055
virtual int GetMeterDigits() override
Returns the digit resolution of the meter.
Definition: LeCroyOscilloscope.cpp:1936
OscilloscopeChannel * m_extTrigChannel
External trigger input.
Definition: LeCroyOscilloscope.h:391
virtual void Start() override
Starts the instrument in continuous trigger mode.
Definition: LeCroyOscilloscope.cpp:3047
virtual bool IsInterleaving() override
Checks if the scope is currently combining channels.
Definition: LeCroyOscilloscope.cpp:3887
virtual void ForceTrigger() override
Forces a single acquisition as soon as possible.
Definition: LeCroyOscilloscope.cpp:3074
virtual void SetChannelAttenuation(size_t i, double atten) override
Sets the probe attenuation used for an input channel.
Definition: LeCroyOscilloscope.cpp:1462
virtual double GetMeterValue() override
Get the value of the primary measurement.
Definition: LeCroyOscilloscope.cpp:1967
virtual std::vector< OscilloscopeChannel::CouplingType > GetAvailableCouplings(size_t i) override
Gets the set of legal coupling values for an input channel.
Definition: LeCroyOscilloscope.cpp:1354
virtual void SetSamplingMode(SamplingMode mode) override
Sets the current sampling mode of the instrument.
Definition: LeCroyOscilloscope.cpp:3989
virtual unsigned int GetInstrumentTypes() const override
See what features we have.
Definition: LeCroyOscilloscope.cpp:1113
bool IsCDRLocked()
Checks if the hardware CDR trigger is locked.
Definition: LeCroyOscilloscope.cpp:5710
virtual void Stop() override
Stops triggering.
Definition: LeCroyOscilloscope.cpp:3063
void AddDigitalChannels(unsigned int count)
Creates digital channels for the oscilloscope.
Definition: LeCroyOscilloscope.cpp:866
virtual bool IsChannelEnabled(size_t i) override
Checks if a channel is enabled in hardware.
Definition: LeCroyOscilloscope.cpp:1155
virtual void SetFunctionChannelOffset(int chan, float offset) override
Sets the DC offset for a function generator output.
Definition: LeCroyOscilloscope.cpp:2145
virtual std::vector< DigitalBank > GetDigitalBanks() override
Gets the digital channel banks for this instrument.
Definition: LeCroyOscilloscope.cpp:4133
virtual bool IsTriggerArmed() override
Checks if the trigger is currently armed.
Definition: LeCroyOscilloscope.cpp:2271
virtual float GetFunctionChannelFrequency(int chan) override
Gets the frequency for a function generator output.
Definition: LeCroyOscilloscope.cpp:2151
virtual int64_t GetTriggerOffset() override
Gets the trigger offset.
Definition: LeCroyOscilloscope.cpp:3811
void PushSlewRateTrigger(SlewRateTrigger *trig)
Pushes settings for a slew rate trigger to the instrument.
Definition: LeCroyOscilloscope.cpp:5477
void OnCDRTriggerAutoBaud()
Automatic baud rate configuration.
Definition: LeCroyOscilloscope.cpp:4564
virtual std::vector< uint64_t > GetSampleRatesNonInterleaved() override
Get the legal sampling rates (in Hz) for this scope in all-channels mode.
Definition: LeCroyOscilloscope.cpp:3160
virtual void SetFunctionChannelDutyCycle(int chan, float duty) override
Sets the duty cycle for a function generator output.
Definition: LeCroyOscilloscope.cpp:2121
virtual float GetDigitalHysteresis(size_t channel) override
Gets the hysteresis for a digital input.
Definition: LeCroyOscilloscope.cpp:4182
virtual bool SetInterleaving(bool combine) override
Configures the scope to combine channels.
Definition: LeCroyOscilloscope.cpp:3917
virtual void SetFunctionChannelFallTime(int chan, float fs) override
Sets the fall time for a function generator output (if supported)
Definition: LeCroyOscilloscope.cpp:2243
virtual void Invert(size_t i, bool invert) override
Enables hardware polarity inversion for a channel, if supported.
Definition: LeCroyOscilloscope.cpp:1671
OscilloscopeChannel * m_fastEdgeChannel
Internal "fast edge" trigger source.
Definition: LeCroyOscilloscope.h:397
void PullPulseWidthTrigger()
Reads settings for an edge trigger from the instrument.
Definition: LeCroyOscilloscope.cpp:4705
virtual FunctionGenerator::WaveShape GetFunctionChannelShape(int chan) override
Gets the waveform shape for a function generator output.
Definition: LeCroyOscilloscope.cpp:2163
OscilloscopeChannel * m_acLineChannel
Internal "AC line" trigger source.
Definition: LeCroyOscilloscope.h:394
virtual float GetChannelOffset(size_t i, size_t stream) override
Gets the offset, in volts, for a given channel.
Definition: LeCroyOscilloscope.cpp:3083
virtual void SetChannelOffset(size_t i, size_t stream, float offset) override
Sets the offset for a given channel.
Definition: LeCroyOscilloscope.cpp:3110
virtual void SetChannelCoupling(size_t i, OscilloscopeChannel::CouplingType type) override
Sets the coupling used for an input channel.
Definition: LeCroyOscilloscope.cpp:1411
virtual void SetNumAverages(size_t i, size_t navg) override
Sets the number of hardware averages to use.
Definition: LeCroyOscilloscope.cpp:3745
virtual bool IsADCModeConfigurable() override
Returns true if the ADC is configurable, false if it can only run in one mode.
Definition: LeCroyOscilloscope.cpp:4082
void PullNRZTrigger()
Reads settings for an NRZ pattern trigger from the instrument.
Definition: LeCroyOscilloscope.cpp:4318
void PullEdgeTrigger()
Reads settings for an edge trigger from the instrument.
Definition: LeCroyOscilloscope.cpp:4625
virtual float GetDigitalThreshold(size_t channel) override
Gets the threshold for a digital input.
Definition: LeCroyOscilloscope.cpp:4196
void BulkCheckChannelEnableState()
Optimized function for checking channel enable status en masse with less round trips to the scope.
Definition: LeCroyOscilloscope.cpp:2378
virtual void AutoZero(size_t i) override
Performs an "auto zero" cycle on the attached active probe, if supported by the hardware.
Definition: LeCroyOscilloscope.cpp:1777
virtual OutputImpedance GetFunctionChannelOutputImpedance(int chan) override
Gets the currently selected output impedance for a function generator output (if supported)
Definition: LeCroyOscilloscope.cpp:2251
virtual void SetDeskewForChannel(size_t channel, int64_t skew) override
Sets the deskew setting for a channel.
Definition: LeCroyOscilloscope.cpp:3840
void PushWindowTrigger(WindowTrigger *trig)
Pushes settings for a window trigger to the instrument.
Definition: LeCroyOscilloscope.cpp:5591
virtual int64_t GetDeskewForChannel(size_t channel) override
Gets the deskew setting for a channel.
Definition: LeCroyOscilloscope.cpp:3858
void Push8b10bTrigger(CDR8B10BTrigger *trig)
Pushes settings for an 8B/10B trigger to the instrument.
Definition: LeCroyOscilloscope.cpp:5148
virtual std::vector< uint64_t > GetSampleDepthsInterleaved() override
Get the legal memory depths for this scope in combined-channels mode.
Definition: LeCroyOscilloscope.cpp:3569
void Pull64b66bTrigger()
Reads settings for a 64b66b pattern trigger from the instrument.
Definition: LeCroyOscilloscope.cpp:4343
bool m_triggerReallyArmed
True if the scope has reported it is in fact in the arm state.
Definition: LeCroyOscilloscope.h:361
virtual size_t GetADCMode(size_t channel) override
Gets the ADC mode for a channel.
Definition: LeCroyOscilloscope.cpp:4096
virtual float GetFunctionChannelOffset(int chan) override
Gets the DC offset for a function generator output.
Definition: LeCroyOscilloscope.cpp:2139
void PushPulseWidthTrigger(PulseWidthTrigger *trig)
Pushes settings for a pulse width trigger to the instrument.
Definition: LeCroyOscilloscope.cpp:5437
void GetTriggerSlope(EdgeTrigger *trig, std::string reply)
Processes the slope for an edge or edge-derived trigger.
Definition: LeCroyOscilloscope.cpp:4988
void PullGlitchTrigger()
Reads settings for a glitch trigger from the instrument.
Definition: LeCroyOscilloscope.cpp:4666
virtual unsigned int GetChannelBandwidthLimit(size_t i) override
Gets the bandwidth limit for an input channel.
Definition: LeCroyOscilloscope.cpp:1608
unsigned int m_maxBandwidth
Maximum bandwidth we support, in MHz.
Definition: LeCroyOscilloscope.h:355
void PushRuntTrigger(RuntTrigger *trig)
Pushes settings for a runt trigger to the instrument.
Definition: LeCroyOscilloscope.cpp:5459
virtual bool AcquireData() override
Pull data from the instrument.
Definition: LeCroyOscilloscope.cpp:2819
void PullSlewRateTrigger()
Reads settings for a slew rate trigger from the instrument.
Definition: LeCroyOscilloscope.cpp:4792
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: LeCroyOscilloscope.cpp:1864
virtual OscilloscopeChannel * GetExternalTrigger() override
Returns the external trigger input channel, if we have one.
Definition: LeCroyOscilloscope.cpp:1059
virtual float GetFunctionChannelRiseTime(int chan) override
Gets the rise time for a function generator output (if supported)
Definition: LeCroyOscilloscope.cpp:2223
virtual void SetFunctionChannelOutputImpedance(int chan, OutputImpedance z) override
Sets the currently selected output impedance for a function generator output (if supported)
Definition: LeCroyOscilloscope.cpp:2260
virtual void SetDigitalThreshold(size_t channel, float level) override
Gets the threshold for a digital input.
Definition: LeCroyOscilloscope.cpp:4234
void PushEdgeTrigger(EdgeTrigger *trig, const std::string &tree)
Pushes settings for an edge trigger to the instrument.
Definition: LeCroyOscilloscope.cpp:5395
virtual void SetChannelBandwidthLimit(size_t i, unsigned int limit_mhz) override
Sets the bandwidth limit for an input channel.
Definition: LeCroyOscilloscope.cpp:1652
virtual uint32_t GetInstrumentTypesForChannel(size_t i) const override
Returns a bitfield describing the set of instrument types that a given channel supports.
Definition: LeCroyOscilloscope.cpp:1123
std::string GetPossiblyEmptyString(const std::string &property)
Get an.
Definition: LeCroyOscilloscope.cpp:1923
virtual bool GetFunctionChannelActive(int chan) override
Returns true if the function generator channel's output is enabled.
Definition: LeCroyOscilloscope.cpp:2098
virtual void DisableChannel(size_t i) override
Turn a channel off, given the index.
Definition: LeCroyOscilloscope.cpp:1323
void PushDropoutTrigger(DropoutTrigger *trig)
Pushes settings for a dropout trigger to the instrument.
Definition: LeCroyOscilloscope.cpp:5376
virtual void SetFunctionChannelActive(int chan, bool on) override
Turns a function generator channel on or off.
Definition: LeCroyOscilloscope.cpp:2107
virtual bool CanAutoZero(size_t i) override
Determines if a channel has a probe connected which supports the "auto zero" feature.
Definition: LeCroyOscilloscope.cpp:1735
virtual bool HasInputMux(size_t i) override
Checks if a channel has an input multiplexer.
Definition: LeCroyOscilloscope.cpp:1791
virtual float GetFunctionChannelAmplitude(int chan) override
Gets the amplitude for a function generator output.
Definition: LeCroyOscilloscope.cpp:2127
virtual bool IsSamplingModeAvailable(SamplingMode mode) override
Returns true if the requested sampling mode is available with the current instrument configuration.
Definition: LeCroyOscilloscope.cpp:3954
virtual void PullTrigger() override
Updates m_trigger with any changes made from the instrument side.
Definition: LeCroyOscilloscope.cpp:4250
virtual void SetChannelVoltageRange(size_t i, size_t stream, float range) override
Sets the range of the current channel configuration.
Definition: LeCroyOscilloscope.cpp:3150
bool m_triggerArmed
True if we have sent an arm command to the scope (may not have executed yet)
Definition: LeCroyOscilloscope.h:358
virtual void FlushConfigCache() override
Instruments are allowed to cache configuration settings to reduce round trip queries to the device.
Definition: LeCroyOscilloscope.cpp:1064
virtual void EnableChannel(size_t i) override
Turn a channel on, given the index.
Definition: LeCroyOscilloscope.cpp:1217
virtual bool CanInvert(size_t i) override
Checks if a channel is capable of hardware polarity inversion.
Definition: LeCroyOscilloscope.cpp:1665
void PushUartTrigger(UartTrigger *trig)
Pushes settings for a UART trigger to the instrument.
Definition: LeCroyOscilloscope.cpp:5495
virtual void SetUseExternalRefclk(bool external) override
Configures the instrument's clock source.
Definition: LeCroyOscilloscope.cpp:3785
virtual unsigned int GetMeasurementTypes() override
See what measurement capabilities we have.
Definition: LeCroyOscilloscope.cpp:1097
void PushCondition(const std::string &path, Trigger::Condition cond)
Pushes settings for a trigger condition under a .Condition field.
Definition: LeCroyOscilloscope.cpp:5601
virtual float GetFunctionChannelFallTime(int chan) override
Gets the fall time for a function generator output (if supported)
Definition: LeCroyOscilloscope.cpp:2237
virtual std::vector< std::string > GetTriggerTypes() override
Gets a list of triggers this instrument supports.
Definition: LeCroyOscilloscope.cpp:5686
void PushNRZTrigger(CDRNRZPatternTrigger *trig)
Pushes settings for a NRZ pattern trigger to the instrument.
Definition: LeCroyOscilloscope.cpp:5118
virtual bool IsDigitalHysteresisConfigurable() override
Checks if digital input hysteresis is configurable or fixed.
Definition: LeCroyOscilloscope.cpp:4172
virtual uint64_t GetSampleRate() override
Gets the current sampling rate (in Hz) of this scope.
Definition: LeCroyOscilloscope.cpp:3647
virtual std::vector< WaveShape > GetAvailableWaveformShapes(int chan) override
Query the set of available pre-defined waveforms for this generator.
Definition: LeCroyOscilloscope.cpp:2086
virtual bool HasFunctionRiseFallTimeControls(int chan) override
Determines if the function generator allows control over rise/fall times.
Definition: LeCroyOscilloscope.cpp:2218
virtual float GetChannelVoltageRange(size_t i, size_t stream) override
Gets the range of the current channel configuration.
Definition: LeCroyOscilloscope.cpp:3127
virtual float GetFunctionChannelDutyCycle(int chan) override
Gets the duty cycle for a function generator output.
Definition: LeCroyOscilloscope.cpp:2115
void PullWindowTrigger()
Reads settings for a window trigger from the instrument.
Definition: LeCroyOscilloscope.cpp:4960
virtual size_t GetInputMuxSetting(size_t i) override
Gets the setting for a channel's input mux (if it has one)
Definition: LeCroyOscilloscope.cpp:1812
virtual void SetSampleDepth(uint64_t depth) override
Sets the sample depth of the scope.
Definition: LeCroyOscilloscope.cpp:3682
float GetTriggerLevelWithInversion(Trigger *trig)
Returns the trigger level after correcting for optional frontend inversion.
Definition: LeCroyOscilloscope.cpp:5364
virtual void SetFunctionChannelFrequency(int chan, float hz) override
Sets the frequency for a function generator output.
Definition: LeCroyOscilloscope.cpp:2157
virtual std::string GetChannelDisplayName(size_t i) override
Gets the hardware display name for a channel. This is an arbitrary user-selected string.
Definition: LeCroyOscilloscope.cpp:1886
virtual bool CanAverage(size_t i) override
Determines if the channel supports hardware averaging.
Definition: LeCroyOscilloscope.cpp:3711
void ForceHDMode(bool mode)
Forces 16-bit transfer mode on/off when connecting to a scope regardless of ADC resolution.
Definition: LeCroyOscilloscope.cpp:5731
void PullTriggerSource(Trigger *trig)
Reads the source of a trigger from the instrument.
Definition: LeCroyOscilloscope.cpp:4304
virtual bool CanEnableChannel(size_t i) override
Determines if a channel can be enabled.
Definition: LeCroyOscilloscope.cpp:1272
bool IsValid8B10BKCharacter(int code5, int code3)
Check if a candidate 8b10b character is a valid K code point.
Definition: LeCroyOscilloscope.cpp:5127
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: LeCroyOscilloscope.cpp:4088
void PullRuntTrigger()
Reads settings for a runt-pulse trigger from the instrument.
Definition: LeCroyOscilloscope.cpp:4744
virtual std::string GetProbeName(size_t i) override
Returns the name of the probe connected to the scope, if possible.
Definition: LeCroyOscilloscope.cpp:1714
virtual std::vector< uint64_t > GetSampleRatesInterleaved() override
Get the legal sampling rates (in Hz) for this scope in combined-channels mode.
Definition: LeCroyOscilloscope.cpp:3361
virtual std::vector< unsigned int > GetChannelBandwidthLimiters(size_t i) override
Gets the set of available bandwidth limiters for an input channel.
Definition: LeCroyOscilloscope.cpp:1483
virtual void SetFunctionChannelShape(int chan, WaveShape shape) override
Sets the waveform shape for a function generator output.
Definition: LeCroyOscilloscope.cpp:2185
virtual OscilloscopeChannel::CouplingType GetChannelCoupling(size_t i) override
Gets the coupling used for an input channel.
Definition: LeCroyOscilloscope.cpp:1377
virtual bool IsInverted(size_t i) override
Checks if hardware polarity inversion is enabled for a channel.
Definition: LeCroyOscilloscope.cpp:1690
void PushPatternCondition(const std::string &path, Trigger::Condition cond)
Pushes settings for a trigger condition under a .PatternOperator field.
Definition: LeCroyOscilloscope.cpp:5630
void PullUartTrigger()
Reads settings for a UART trigger from the instrument.
Definition: LeCroyOscilloscope.cpp:4839
virtual bool PeekTriggerArmed() override
Checks if the trigger is armed directly on the instrument, without altering internal state or touchin...
Definition: LeCroyOscilloscope.cpp:2312
virtual void SetDigitalHysteresis(size_t channel, float level) override
Sets the hysteresis for a digital input.
Definition: LeCroyOscilloscope.cpp:4221
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 multimeter.
Definition: SCPIMultimeter.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