29 #ifndef KEYSIGHT3000_H 30 #define KEYSIGHT3000_H 50 Q_PLUGIN_METADATA(IID
"cz.cvut.fit.Sicak.OscilloscopeInterface/1.0" FILE
"keysight3000.json")
62 virtual void init(
const char * filename)
override;
63 virtual void deInit()
override;
71 virtual void setTiming(
float & preTriggerRange,
float & postTriggerRange,
size_t & samples,
size_t & captures)
override;
72 virtual void run()
override;
73 virtual void stop()
override;
75 virtual size_t getCurrentSetup(
size_t & samples,
size_t & captures)
override;
77 virtual size_t getValues(
int channel, int16_t * buffer,
size_t len,
size_t & samples,
size_t & captures)
override;
virtual void stop() override
Stop the oscilloscope.
Definition: keysight3000.cpp:345
BandwidthLimiter
Bandwidth limit of the oscilloscope channel.
Definition: oscilloscope.h:59
Class providing SCPI device interface, either using USBTMC Linux Module, or using VISA libraries.
virtual QString getPluginInfo() override
Plugin info.
Definition: keysight3000.cpp:49
SCPI device interface, using either USBTMC Linux module or VISA library.
Definition: scpidevice.h:55
This header file contains exceptions.
virtual QString queryDevices() override
Query available devices.
Definition: keysight3000.cpp:75
virtual void unsetTrigger() override
Unset the trigger.
Definition: keysight3000.cpp:270
virtual void run() override
Run the oscilloscope: wait for trigger when triggered, otherwise capture immediately.
Definition: keysight3000.cpp:330
TriggerSlope
Edge slope of the oscilloscope trigger.
Definition: oscilloscope.h:66
virtual void init(const char *filename) override
Initialize the oscilloscope, use filename=/dev/usbtmc0 on Linux or filename=VISAADDRESS on Windows.
Definition: keysight3000.cpp:53
virtual QString getPluginName() override
Plugin name.
Definition: keysight3000.cpp:45
virtual void deInit() override
Deinitialize the plugin.
Definition: keysight3000.cpp:65
virtual void setChannel(int &channel, bool &enabled, Coupling &coupling, Impedance &impedance, int &rangemV, int &offsetmV, BandwidthLimiter &bwLimit) override
Set the channel settings, real values may be returned by driver to the references.
Definition: keysight3000.cpp:89
Oscilloscope plugin interface for use e.g. in meas.
virtual void setTiming(float &preTriggerRange, float &postTriggerRange, size_t &samples, size_t &captures) override
Set the timing settings, real values may be returned by driver to the references: e....
Definition: keysight3000.cpp:276
Coupling
Coupling of the oscilloscope channel.
Definition: oscilloscope.h:47
Impedance
Impedance of the oscilloscope channel.
Definition: oscilloscope.h:53
Oscilloscope plugin for Keysight 3000 series oscilloscope, using ScpiDevice for communication.
Definition: keysight3000.h:47
Oscilloscope QT plugin interface.
Definition: oscilloscope.h:42
virtual void setTrigger(int &sourceChannel, float &level, TriggerSlope &slope) override
Set the trigger settings, real values may be returned by driver to the references.
Definition: keysight3000.cpp:209
virtual size_t getCurrentSetup(size_t &samples, size_t &captures) override
Returns current samples/captures settings.
Definition: keysight3000.cpp:357
A class representing a Matrix with 'noOfTraces' power traces, with 'samplesPerTrace' samples per powe...
Definition: types_power.hpp:44
virtual size_t getValues(int channel, PowerTraces< int16_t > &traces) override
Downloads values from the oscilloscope, first waits for the aquisition to complete.
Definition: keysight3000.cpp:395