SIde-Channel Analysis toolKit (SICAK)
Software toolkit for side-channel analysis
Public Member Functions | Protected Attributes | List of all members

Oscilloscope plugin for Keysight 3000 series oscilloscope, using ScpiDevice for communication. More...

#include <keysight3000.h>

Inheritance diagram for Keysight3000:
Inheritance graph
Collaboration diagram for Keysight3000:
Collaboration graph

Public Member Functions

virtual QString getPluginName () override
 Plugin name.
 
virtual QString getPluginInfo () override
 Plugin info.
 
virtual void init (const char *filename) override
 Initialize the oscilloscope, use filename=/dev/usbtmc0 on Linux or filename=VISAADDRESS on Windows.
 
virtual void deInit () override
 Deinitialize the plugin.
 
virtual QString queryDevices () override
 Query available devices.
 
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.
 
virtual void setTrigger (int &sourceChannel, float &level, TriggerSlope &slope) override
 Set the trigger settings, real values may be returned by driver to the references.
 
virtual void unsetTrigger () override
 Unset the trigger.
 
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.g. only 1 capture per run is supported by this driver.
 
virtual void run () override
 Run the oscilloscope: wait for trigger when triggered, otherwise capture immediately.
 
virtual void stop () override
 Stop the oscilloscope.
 
virtual size_t getCurrentSetup (size_t &samples, size_t &captures) override
 Returns current samples/captures settings.
 
virtual size_t getValues (int channel, PowerTraces< int16_t > &traces) override
 Downloads values from the oscilloscope, first waits for the aquisition to complete.
 
virtual size_t getValues (int channel, int16_t *buffer, size_t len, size_t &samples, size_t &captures) override
 Downloads values from the oscilloscope, first waits for the aquisition to complete.
 

Protected Attributes

ScpiDevice m_handle
 
size_t m_samples
 
bool m_triggered
 
bool m_opened
 

Additional Inherited Members

- Private Types inherited from Oscilloscope
enum  Coupling { AC, DC }
 Coupling of the oscilloscope channel.
 
enum  Impedance { R50, R1M }
 Impedance of the oscilloscope channel.
 
enum  BandwidthLimiter { FULL, F20MHZ, F25MHZ }
 Bandwidth limit of the oscilloscope channel.
 
enum  TriggerSlope { RISING, FALLING, EITHER }
 Edge slope of the oscilloscope trigger.
 

Detailed Description

Oscilloscope plugin for Keysight 3000 series oscilloscope, using ScpiDevice for communication.


The documentation for this class was generated from the following files: