|
SIde-Channel Analysis toolKit (SICAK)
Software toolkit for side-channel analysis
|
Oscilloscope QT plugin interface. More...
#include <oscilloscope.h>


Public Types | |
| 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. | |
Public Member Functions | |
| virtual QString | getPluginName ()=0 |
| Plugin name. | |
| virtual QString | getPluginInfo ()=0 |
| Plugin info. | |
| virtual void | init (const char *filename)=0 |
| Initialize the plugin. | |
| virtual void | deInit ()=0 |
| Deinitialize the plugin. | |
| virtual QString | queryDevices ()=0 |
| Query available devices. | |
| virtual void | setChannel (int &channel, bool &enabled, Coupling &coupling, Impedance &impedance, int &rangemV, int &offsetmV, BandwidthLimiter &bwLimit)=0 |
| Set the channel settings, real values may be returned by driver to the references. | |
| virtual void | setTrigger (int &sourceChannel, float &level, TriggerSlope &slope)=0 |
| Set the trigger settings, real values may be returned by driver to the references. | |
| virtual void | unsetTrigger ()=0 |
| Unset the trigger. | |
| virtual void | setTiming (float &preTriggerRange, float &postTriggerRange, size_t &samples, size_t &captures)=0 |
| Set the timing settings, real values may be returned by driver to the references: e.g. only some oscilloscopes support more captures per run than 1. | |
| virtual void | run ()=0 |
| Run the oscilloscope: wait for trigger when triggered, otherwise capture immediately. | |
| virtual void | stop ()=0 |
| Stop the oscilloscope. | |
| virtual size_t | getCurrentSetup (size_t &samples, size_t &captures)=0 |
| Returns current samples/captures settings. | |
| virtual size_t | getValues (int channel, PowerTraces< int16_t > &traces)=0 |
| 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)=0 |
| Downloads values from the oscilloscope, first waits for the aquisition to complete. | |
Oscilloscope QT plugin interface.
1.8.15