|
| MockOscilloscope (const std::string &name, const std::string &vendor, const std::string &serial, const std::string &transport, const std::string &driver, const std::string &args) |
|
virtual bool | IsOffline () override |
| Checks if the instrument is currently online. More...
|
|
| MockOscilloscope (const MockOscilloscope &rhs)=delete |
|
MockOscilloscope & | operator= (const MockOscilloscope &rhs)=delete |
|
void | AddChannel (OscilloscopeChannel *chan) |
|
virtual std::string | IDPing () override |
| Returns the instrument's identification string. More...
|
|
virtual std::string | GetTransportConnectionString () override |
| Gets the connection string for our transport. More...
|
|
virtual std::string | GetTransportName () override |
| Gets the name of our transport. More...
|
|
virtual std::string | GetName () const override |
|
virtual std::string | GetVendor () const override |
|
virtual std::string | GetSerial () const override |
|
virtual bool | IsChannelEnabled (size_t i) override |
| Checks if a channel is enabled in hardware. More...
|
|
virtual void | EnableChannel (size_t i) override |
| Turn a channel on, given the index. More...
|
|
virtual void | DisableChannel (size_t i) override |
| Turn a channel off, given the index. More...
|
|
virtual OscilloscopeChannel::CouplingType | GetChannelCoupling (size_t i) override |
| Gets the coupling used for an input channel. More...
|
|
virtual void | SetChannelCoupling (size_t i, OscilloscopeChannel::CouplingType type) override |
| Sets the coupling used for an input channel. More...
|
|
virtual std::vector< OscilloscopeChannel::CouplingType > | GetAvailableCouplings (size_t i) override |
| Gets the set of legal coupling values for an input channel. More...
|
|
virtual double | GetChannelAttenuation (size_t i) override |
| Gets the probe attenuation for an input channel. More...
|
|
virtual void | SetChannelAttenuation (size_t i, double atten) override |
| Sets the probe attenuation used for an input channel. More...
|
|
virtual unsigned int | GetChannelBandwidthLimit (size_t i) override |
| Gets the bandwidth limit for an input channel. More...
|
|
virtual void | SetChannelBandwidthLimit (size_t i, unsigned int limit_mhz) override |
| Sets the bandwidth limit for an input channel. More...
|
|
virtual float | GetChannelVoltageRange (size_t i, size_t stream) override |
| Gets the range of the current channel configuration. More...
|
|
virtual void | SetChannelVoltageRange (size_t i, size_t stream, float range) override |
| Sets the range of the current channel configuration. More...
|
|
virtual OscilloscopeChannel * | GetExternalTrigger () override |
| Returns the external trigger input channel, if we have one. More...
|
|
virtual float | GetChannelOffset (size_t i, size_t stream) override |
| Gets the offset, in volts, for a given channel. More...
|
|
virtual void | SetChannelOffset (size_t i, size_t stream, float offset) override |
| Sets the offset for a given channel. More...
|
|
virtual Oscilloscope::TriggerMode | PollTrigger () override |
| Checks the curent trigger status. More...
|
|
virtual bool | AcquireData () override |
| Pull data from the instrument. More...
|
|
virtual void | Start () override |
| Starts the instrument in continuous trigger mode. More...
|
|
virtual void | StartSingleTrigger () override |
| Arms the trigger for a single acquistion. More...
|
|
virtual void | Stop () override |
| Stops triggering. More...
|
|
virtual void | ForceTrigger () override |
| Forces a single acquisition as soon as possible. More...
|
|
virtual bool | IsTriggerArmed () override |
| Checks if the trigger is currently armed. More...
|
|
virtual void | PushTrigger () override |
| Pushes changes made to m_trigger to the instrument. More...
|
|
virtual void | PullTrigger () override |
| Updates m_trigger with any changes made from the instrument side. More...
|
|
virtual std::vector< uint64_t > | GetSampleRatesNonInterleaved () override |
| Get the legal sampling rates (in Hz) for this scope in all-channels mode. More...
|
|
virtual std::vector< uint64_t > | GetSampleRatesInterleaved () override |
| Get the legal sampling rates (in Hz) for this scope in combined-channels mode. More...
|
|
virtual std::set< InterleaveConflict > | GetInterleaveConflicts () override |
|
virtual std::vector< uint64_t > | GetSampleDepthsNonInterleaved () override |
| Get the legal memory depths for this scope in all-channels mode. More...
|
|
virtual std::vector< uint64_t > | GetSampleDepthsInterleaved () override |
| Get the legal memory depths for this scope in combined-channels mode. More...
|
|
virtual uint64_t | GetSampleRate () override |
| Gets the current sampling rate (in Hz) of this scope. More...
|
|
virtual uint64_t | GetSampleDepth () override |
| Gets the current sample depth of this scope. More...
|
|
virtual void | SetSampleDepth (uint64_t depth) override |
| Sets the sample depth of the scope. More...
|
|
virtual void | SetSampleRate (uint64_t rate) override |
| Sets the sample rate of the scope, in Hz. More...
|
|
virtual void | SetTriggerOffset (int64_t offset) override |
| Sets the trigger offset. More...
|
|
virtual int64_t | GetTriggerOffset () override |
| Gets the trigger offset. More...
|
|
virtual bool | IsInterleaving () override |
| Checks if the scope is currently combining channels. More...
|
|
virtual bool | SetInterleaving (bool combine) override |
| Configures the scope to combine channels. More...
|
|
virtual unsigned int | GetInstrumentTypes () const override |
| Returns a bitfield describing the set of instrument types that this instrument supports. More...
|
|
virtual uint32_t | GetInstrumentTypesForChannel (size_t i) const override |
| Returns a bitfield describing the set of instrument types that a given channel supports. More...
|
|
void | DoLoadConfiguration (int version, const YAML::Node &node, IDTable &idmap) |
|
void | DoSerializeConfiguration (YAML::Node &node, IDTable &table) |
|
virtual std::string | GetDriverName () |
|
virtual std::string | IDPing ()=0 |
| Returns the instrument's identification string. More...
|
|
virtual void | FlushConfigCache () |
| Instruments are allowed to cache configuration settings to reduce round trip queries to the device. More...
|
|
virtual bool | IsOffline () |
| Checks if the instrument is currently online. More...
|
|
OscilloscopeChannel * | GetOscilloscopeChannel (size_t i) |
| Gets a channel by index. More...
|
|
virtual bool | IsChannelEnabled (size_t i)=0 |
| Checks if a channel is enabled in hardware. More...
|
|
virtual void | EnableChannel (size_t i)=0 |
| Turn a channel on, given the index. More...
|
|
virtual bool | CanEnableChannel (size_t i) |
| Determines if a channel can be enabled. More...
|
|
virtual void | DisableChannel (size_t i)=0 |
| Turn a channel off, given the index. More...
|
|
int | GetEnabledChannelCount () |
| Returns the number of enabled channels for this oscilloscope. More...
|
|
OscilloscopeChannel * | GetOscilloscopeChannelByHwName (const std::string &name) |
| Gets a channel given the hardware name.
|
|
virtual OscilloscopeChannel::CouplingType | GetChannelCoupling (size_t i)=0 |
| Gets the coupling used for an input channel. More...
|
|
virtual void | SetChannelCoupling (size_t i, OscilloscopeChannel::CouplingType type)=0 |
| Sets the coupling used for an input channel. More...
|
|
virtual std::vector< OscilloscopeChannel::CouplingType > | GetAvailableCouplings (size_t i)=0 |
| Gets the set of legal coupling values for an input channel. More...
|
|
virtual double | GetChannelAttenuation (size_t i)=0 |
| Gets the probe attenuation for an input channel. More...
|
|
virtual void | SetChannelAttenuation (size_t i, double atten)=0 |
| Sets the probe attenuation used for an input channel. More...
|
|
virtual std::vector< unsigned int > | GetChannelBandwidthLimiters (size_t i) |
| Gets the set of available bandwidth limiters for an input channel. More...
|
|
virtual unsigned int | GetChannelBandwidthLimit (size_t i)=0 |
| Gets the bandwidth limit for an input channel. More...
|
|
virtual void | SetChannelBandwidthLimit (size_t i, unsigned int limit_mhz)=0 |
| Sets the bandwidth limit for an input channel. More...
|
|
virtual OscilloscopeChannel * | GetExternalTrigger ()=0 |
| Returns the external trigger input channel, if we have one. More...
|
|
virtual float | GetChannelVoltageRange (size_t i, size_t stream)=0 |
| Gets the range of the current channel configuration. More...
|
|
virtual void | SetChannelVoltageRange (size_t i, size_t stream, float range)=0 |
| Sets the range of the current channel configuration. More...
|
|
virtual bool | CanAutoZero (size_t i) |
| Determines if a channel has a probe connected which supports the "auto zero" feature. More...
|
|
virtual void | AutoZero (size_t i) |
| Performs an "auto zero" cycle on the attached active probe, if supported by the hardware. More...
|
|
virtual bool | CanDegauss (size_t i) |
| Determines if a channel has a probe connected which supports the "degauss" feature. More...
|
|
virtual bool | ShouldDegauss (size_t i) |
| Determines if a channel requires a degauss cycle (if supported) More...
|
|
virtual void | Degauss (size_t i) |
| Performs an "degauss" cycle on the attached active probe, if supported by the hardware. More...
|
|
virtual bool | CanAverage (size_t i) |
| Determines if the channel supports hardware averaging. More...
|
|
virtual size_t | GetNumAverages (size_t i) |
| Returns the number of averages the channel is configured for. More...
|
|
virtual void | SetNumAverages (size_t i, size_t navg) |
| Sets the number of hardware averages to use. More...
|
|
virtual std::string | GetProbeName (size_t i) |
| Returns the name of the probe connected to the scope, if possible. More...
|
|
virtual bool | HasInputMux (size_t i) |
| Checks if a channel has an input multiplexer. More...
|
|
virtual size_t | GetInputMuxSetting (size_t i) |
| Gets the setting for a channel's input mux (if it has one) More...
|
|
virtual std::vector< std::string > | GetInputMuxNames (size_t i) |
| Gets names for the input mux ports of a channel. More...
|
|
virtual void | SetInputMux (size_t i, size_t select) |
| Sets the input mux for a channel. More...
|
|
virtual float | GetChannelOffset (size_t i, size_t stream)=0 |
| Gets the offset, in volts, for a given channel. More...
|
|
virtual void | SetChannelOffset (size_t i, size_t stream, float offset)=0 |
| Sets the offset for a given channel. More...
|
|
virtual bool | CanInvert (size_t i) |
| Checks if a channel is capable of hardware polarity inversion. More...
|
|
virtual void | Invert (size_t i, bool invert) |
| Enables hardware polarity inversion for a channel, if supported. More...
|
|
virtual bool | IsInverted (size_t i) |
| Checks if hardware polarity inversion is enabled for a channel. More...
|
|
virtual Oscilloscope::TriggerMode | PollTrigger ()=0 |
| Checks the curent trigger status. More...
|
|
virtual bool | PeekTriggerArmed () |
| Checks if the trigger is armed directly on the instrument, without altering internal state or touching caches. More...
|
|
bool | WaitForTrigger (int timeout) |
| Block until a trigger happens or a timeout elapses. More...
|
|
void | SetTrigger (Trigger *trigger) |
| Sets a new trigger on the instrument and pushes changes. More...
|
|
virtual void | PushTrigger ()=0 |
| Pushes changes made to m_trigger to the instrument. More...
|
|
Trigger * | GetTrigger (bool sync=false) |
| Gets the current trigger. More...
|
|
virtual std::vector< std::string > | GetTriggerTypes () |
| Gets a list of triggers this instrument supports. More...
|
|
virtual void | PullTrigger ()=0 |
| Updates m_trigger with any changes made from the instrument side. More...
|
|
virtual void | Start ()=0 |
| Starts the instrument in continuous trigger mode. More...
|
|
virtual void | StartSingleTrigger ()=0 |
| Arms the trigger for a single acquistion. More...
|
|
virtual void | Stop ()=0 |
| Stops triggering. More...
|
|
virtual void | ForceTrigger ()=0 |
| Forces a single acquisition as soon as possible. More...
|
|
virtual bool | IsTriggerArmed ()=0 |
| Checks if the trigger is currently armed. More...
|
|
virtual void | EnableTriggerOutput () |
| Enables the trigger output, configuring a shared auxiliary port for this purpose if needed. More...
|
|
virtual std::vector< uint64_t > | GetSampleRatesNonInterleaved ()=0 |
| Get the legal sampling rates (in Hz) for this scope in all-channels mode. More...
|
|
virtual std::vector< uint64_t > | GetSampleRatesInterleaved ()=0 |
| Get the legal sampling rates (in Hz) for this scope in combined-channels mode. More...
|
|
virtual uint64_t | GetSampleRate ()=0 |
| Gets the current sampling rate (in Hz) of this scope. More...
|
|
virtual bool | IsInterleaving ()=0 |
| Checks if the scope is currently combining channels. More...
|
|
virtual bool | SetInterleaving (bool combine)=0 |
| Configures the scope to combine channels. More...
|
|
virtual bool | CanInterleave () |
| Returns true if we have no interleave conflicts, false if we have conflicts. More...
|
|
virtual std::set< InterleaveConflict > | GetInterleaveConflicts ()=0 |
|
virtual std::vector< uint64_t > | GetSampleDepthsNonInterleaved ()=0 |
| Get the legal memory depths for this scope in all-channels mode. More...
|
|
virtual std::vector< uint64_t > | GetSampleDepthsInterleaved ()=0 |
| Get the legal memory depths for this scope in combined-channels mode. More...
|
|
virtual uint64_t | GetSampleDepth ()=0 |
| Gets the current sample depth of this scope. More...
|
|
virtual void | SetSampleDepth (uint64_t depth)=0 |
| Sets the sample depth of the scope. More...
|
|
virtual void | SetSampleRate (uint64_t rate)=0 |
| Sets the sample rate of the scope, in Hz. More...
|
|
virtual bool | IsSamplingModeAvailable (SamplingMode mode) |
| Returns true if the requested sampling mode is available with the current instrument configuration. More...
|
|
virtual SamplingMode | GetSamplingMode () |
| Gets the current sampling mode of the instrument. More...
|
|
virtual void | SetSamplingMode (SamplingMode mode) |
| Sets the current sampling mode of the instrument. More...
|
|
virtual void | SetUseExternalRefclk (bool external) |
| Configures the instrument's clock source. More...
|
|
virtual void | SetTriggerOffset (int64_t offset)=0 |
| Sets the trigger offset. More...
|
|
virtual int64_t | GetTriggerOffset ()=0 |
| Gets the trigger offset. More...
|
|
virtual void | SetDeskewForChannel (size_t channel, int64_t skew) |
| Sets the deskew setting for a channel. More...
|
|
virtual int64_t | GetDeskewForChannel (size_t channel) |
| Gets the deskew setting for a channel. More...
|
|
virtual std::vector< AnalogBank > | GetAnalogBanks () |
| Gets the analog banks for this instrument. More...
|
|
virtual AnalogBank | GetAnalogBank (size_t channel) |
| Gets the bank containing a given channel. More...
|
|
virtual bool | IsADCModeConfigurable () |
| Returns true if the ADC is configurable, false if it can only run in one mode. More...
|
|
virtual std::vector< std::string > | GetADCModeNames (size_t channel) |
| Gets the names of the ADC modes for the bank a given channel is located in. More...
|
|
virtual size_t | GetADCMode (size_t channel) |
| Gets the ADC mode for a channel. More...
|
|
virtual void | SetADCMode (size_t channel, size_t mode) |
| Sets the ADC mode for a channel. More...
|
|
virtual std::vector< DigitalBank > | GetDigitalBanks () |
| Gets the digital channel banks for this instrument. More...
|
|
virtual DigitalBank | GetDigitalBank (size_t channel) |
| Gets the bank containing a given channel. More...
|
|
virtual bool | IsDigitalHysteresisConfigurable () |
| Checks if digital input hysteresis is configurable or fixed. More...
|
|
virtual bool | IsDigitalThresholdConfigurable () |
| Checks if digital input threshold is configurable or fixed. More...
|
|
virtual float | GetDigitalHysteresis (size_t channel) |
| Gets the hysteresis for a digital input. More...
|
|
virtual float | GetDigitalThreshold (size_t channel) |
| Gets the threshold for a digital input. More...
|
|
virtual void | SetDigitalHysteresis (size_t channel, float level) |
| Sets the hysteresis for a digital input. More...
|
|
virtual void | SetDigitalThreshold (size_t channel, float level) |
| Gets the threshold for a digital input. More...
|
|
virtual void | SetSpan (int64_t span) |
| Sets the span for frequency-domain channels. More...
|
|
virtual int64_t | GetSpan () |
| Gets the span for frequency-domain channels. More...
|
|
virtual void | SetCenterFrequency (size_t channel, int64_t freq) |
| Sets the center frequency for frequency-domain channels. More...
|
|
virtual int64_t | GetCenterFrequency (size_t channel) |
| Gets the center frequency for a frequency-domain channel. More...
|
|
virtual void | SetResolutionBandwidth (int64_t rbw) |
| Gets the resolution bandwidth for frequency-domain channels. More...
|
|
virtual int64_t | GetResolutionBandwidth () |
| Gets the resolution bandwidth for frequency-domain channels. More...
|
|
virtual bool | HasFrequencyControls () |
| Returns true if the instrument has at least one frequency-domain channel. More...
|
|
virtual bool | HasResolutionBandwidth () |
| Returns true if the instrument has a resolution bandwidth setting. More...
|
|
virtual bool | HasTimebaseControls () |
| Returns true if the instrument has at least one time-domain channel. More...
|
|
bool | HasPendingWaveforms () |
|
void | ClearPendingWaveforms () |
| Discard any pending waveforms that haven't yet been processed.
|
|
size_t | GetPendingWaveformCount () |
|
virtual bool | PopPendingWaveform () |
| Pops the queue of pending waveforms and updates each channel with a new waveform.
|
|
virtual bool | IsAppendingToWaveform () |
| Checks if we are appending to the existing waveform or creating a new one.
|
|
bool | HasPendingDiagnosticLogMessages () |
|
std::string | PopPendingDiagnosticLogMessage () |
|
std::map< std::string, FilterParameter * > & | GetDiagnosticsValues () |
|
bool | FreeWaveformPools () |
| Free all waveforms in our pool to reclaim memory. More...
|
|
void | AddWaveformToAnalogPool (WaveformBase *w) |
|
void | AddWaveformToDigitalPool (WaveformBase *w) |
|
virtual unsigned int | GetInstrumentTypes () const =0 |
| Returns a bitfield describing the set of instrument types that this instrument supports. More...
|
|
virtual std::string | GetName () const =0 |
|
virtual std::string | GetVendor () const =0 |
|
virtual std::string | GetSerial () const =0 |
|
virtual std::string | GetTransportConnectionString ()=0 |
| Gets the connection string for our transport. More...
|
|
virtual std::string | GetTransportName ()=0 |
| Gets the name of our transport. More...
|
|
virtual uint32_t | GetInstrumentTypesForChannel (size_t i) const =0 |
| Returns a bitfield describing the set of instrument types that a given channel supports. More...
|
|
size_t | GetChannelCount () const |
| Gets the number of channels (of any type) this instrument has.
|
|
InstrumentChannel * | GetChannel (size_t i) const |
| Gets a given channel on the instrument. More...
|
|
virtual std::string | GetChannelDisplayName (size_t i) |
| Gets the hardware display name for a channel. This is an arbitrary user-selected string. More...
|
|
virtual void | SetChannelDisplayName (size_t i, std::string name) |
| Sets the hardware display name for a channel. This is an arbitrary user-selected string. More...
|
|
InstrumentChannel * | GetChannelByDisplayName (const std::string &name) |
| Gets a channel given the display name.
|
|
InstrumentChannel * | GetChannelByHwName (const std::string &name) |
| Gets a channel given the hardware name.
|
|
virtual bool | AcquireData ()=0 |
| Pull data from the instrument. More...
|
|
virtual YAML::Node | SerializeConfiguration (IDTable &table) const |
| Serializes this instrument's configuration to a YAML node. More...
|
|
virtual void | LoadConfiguration (int version, const YAML::Node &node, IDTable &idmap) |
| Load instrument and channel configuration from a save file. More...
|
|
virtual void | PreLoadConfiguration (int version, const YAML::Node &node, IDTable &idmap, ConfigWarningList &warnings) |
| Parse a limited subset of instrument configuration but do not apply it. More...
|
|