22 #ifndef M2KHARDWARETRIGGER_HPP 23 #define M2KHARDWARETRIGGER_HPP 27 #include <libm2k/m2kglobal.hpp> 28 #include <libm2k/m2k.hpp> 53 virtual void reset() = 0;
60 virtual int getAnalogLevelRaw(
unsigned int chnIdx) = 0;
68 virtual void setAnalogLevelRaw(
unsigned int chnIdx,
int level) = 0;
76 virtual void setAnalogLevel(
unsigned int chnIdx,
double v_level) = 0;
84 virtual double getAnalogLevel(
unsigned int chnIdx) = 0;
92 virtual double getAnalogHysteresis(
unsigned int chnIdx) = 0;
100 virtual void setAnalogHysteresis(
unsigned int chnIdx,
double hysteresis) = 0;
200 virtual int getAnalogSourceChannel() = 0;
207 virtual void setAnalogSourceChannel(
unsigned int chnIdx) = 0;
224 virtual int getAnalogDelay()
const = 0;
241 virtual void setAnalogDelay(
int delay) = 0;
258 virtual int getDigitalDelay()
const = 0;
275 virtual void setDigitalDelay(
int delay) = 0;
281 virtual struct SETTINGS *getCurrentHwSettings() = 0;
287 virtual void setHwTriggerSettings(
struct SETTINGS *settings) = 0;
294 virtual void setAnalogStreamingFlag(
bool enable) = 0;
301 virtual bool getAnalogStreamingFlag() = 0;
313 virtual void setDigitalStreamingFlag(
bool enable) = 0;
320 virtual bool getDigitalStreamingFlag() = 0;
326 virtual void setCalibParameters(
unsigned int chnIdx,
double scaling,
double vert_offset) = 0;
388 virtual bool hasExternalTriggerIn()
const = 0;
394 virtual bool hasExternalTriggerOut()
const = 0;
400 virtual bool hasCrossInstrumentTrigger()
const = 0;
500 #endif //M2KHARDWARETRIGGER_HPP M2K_TRIGGER_STATUS_ANALOG_OUT
The status value determines the action that the output interface will take when the trigger condition...
Definition: enums.hpp:182
M2K_TRIGGER_SOURCE_OUT
Selects the source trigger for the output interfaces.
Definition: enums.hpp:158
M2K_TRIGGER_SOURCE_DIGITAL
Select the source for the digital trigger.
Definition: enums.hpp:193
DIO_CHANNEL
Indexes of the channels.
Definition: digital/enums.hpp:69
M2K_TRIGGER_CONDITION_DIGITAL
Condition of triggering.
Definition: enums.hpp:109
M2K_TRIGGER_CONDITION_OUT
Trigger condition when the source for M2K_TRIGGER_SOURCE_OUT is TRIGGER_TI.
Definition: enums.hpp:169
M2K_TRIGGER_CONDITION_ANALOG
Condition of triggering.
Definition: enums.hpp:96
M2K_TRIGGER_MODE
Select the mode for the analog trigger.
Definition: enums.hpp:123
M2K_TRIGGER_OUT_SELECT
Select which trigger event will be forwarded on TO pin (trigger out)
Definition: enums.hpp:205
Triggering system.
Definition: enums.hpp:219
DIO_TRIGGER_MODE
Triggering mode for digital channels.
Definition: digital/enums.hpp:105
Controls the hardware trigger for ADALM2000.
Definition: m2khardwaretrigger.hpp:41
M2K_TRIGGER_SOURCE_ANALOG
Select the source for the analog trigger.
Definition: enums.hpp:140
Generic M2K enumerations.