30#ifndef RemoteBridgeOscilloscope_h
31#define RemoteBridgeOscilloscope_h
60 virtual void Start()
override;
63 virtual void Stop()
override;
83 std::map<int, bool> m_channelsEnabled;
84 std::map<size_t, OscilloscopeChannel::CouplingType> m_channelCouplings;
85 std::map<size_t, float> m_channelOffsets;
86 std::map<size_t, float> m_channelVoltageRanges;
Declaration of EdgeTrigger.
Definition AcceleratorBuffer.h:204
Simple edge trigger.
Definition EdgeTrigger.h:44
An oscilloscope connected over a SDK-to-SCPI bridge that follows our pattern (i.e....
Definition RemoteBridgeOscilloscope.h:40
virtual void PushTrigger() override
Pushes changes made to m_trigger to the instrument.
Definition RemoteBridgeOscilloscope.cpp:124
virtual void Start() override
Starts the instrument in continuous trigger mode.
Definition RemoteBridgeOscilloscope.cpp:53
virtual void SetSampleDepth(uint64_t depth) override
Sets the sample depth of the scope.
Definition RemoteBridgeOscilloscope.cpp:112
virtual bool PeekTriggerArmed() override
Checks if the trigger is armed directly on the instrument, without altering internal state or touchin...
Definition RemoteBridgeOscilloscope.cpp:174
virtual void SetSampleRate(uint64_t rate) override
Sets the sample rate of the scope, in Hz.
Definition RemoteBridgeOscilloscope.cpp:118
virtual void Stop() override
Stops triggering.
Definition RemoteBridgeOscilloscope.cpp:69
virtual float GetChannelVoltageRange(size_t i, size_t stream) override
Gets the range of the current channel configuration.
Definition RemoteBridgeOscilloscope.cpp:257
virtual void EnableChannel(size_t i) override
Turn a channel on, given the index.
Definition RemoteBridgeOscilloscope.cpp:195
virtual OscilloscopeChannel::CouplingType GetChannelCoupling(size_t i) override
Gets the coupling used for an input channel.
Definition RemoteBridgeOscilloscope.cpp:215
virtual int64_t GetTriggerOffset() override
Gets the trigger offset.
Definition RemoteBridgeOscilloscope.cpp:97
virtual void SetChannelOffset(size_t i, size_t stream, float offset) override
Sets the offset for a given channel.
Definition RemoteBridgeOscilloscope.cpp:281
virtual bool IsTriggerArmed() override
Checks if the trigger is currently armed.
Definition RemoteBridgeOscilloscope.cpp:182
virtual void PushEdgeTrigger(EdgeTrigger *trig)
Pushes settings for an edge trigger to the instrument.
Definition RemoteBridgeOscilloscope.cpp:139
virtual void PullTrigger() override
Updates m_trigger with any changes made from the instrument side.
Definition RemoteBridgeOscilloscope.cpp:83
virtual void ForceTrigger() override
Forces a single acquisition as soon as possible.
Definition RemoteBridgeOscilloscope.cpp:76
virtual void DisableChannel(size_t i) override
Turn a channel off, given the index.
Definition RemoteBridgeOscilloscope.cpp:205
virtual uint64_t GetSampleRate() override
Gets the current sampling rate (in Hz) of this scope.
Definition RemoteBridgeOscilloscope.cpp:102
virtual bool IsChannelEnabled(size_t i) override
Checks if a channel is enabled in hardware.
Definition RemoteBridgeOscilloscope.cpp:189
virtual void SetTriggerOffset(int64_t offset) override
Sets the trigger offset.
Definition RemoteBridgeOscilloscope.cpp:88
virtual uint64_t GetSampleDepth() override
Gets the current sample depth of this scope.
Definition RemoteBridgeOscilloscope.cpp:107
virtual void StartSingleTrigger() override
Arms the trigger for a single acquistion.
Definition RemoteBridgeOscilloscope.cpp:61
virtual void SetChannelVoltageRange(size_t i, size_t stream, float range) override
Sets the range of the current channel configuration.
Definition RemoteBridgeOscilloscope.cpp:263
virtual float GetChannelOffset(size_t i, size_t stream) override
Gets the offset, in volts, for a given channel.
Definition RemoteBridgeOscilloscope.cpp:275
virtual void SetChannelCoupling(size_t i, OscilloscopeChannel::CouplingType type) override
Sets the coupling used for an input channel.
Definition RemoteBridgeOscilloscope.cpp:221
An SCPI-based oscilloscope.
Definition SCPIOscilloscope.h:38
Abstraction of a transport layer for moving SCPI data between endpoints.
Definition SCPITransport.h:53