|
libm2k
|
Controls the hardware trigger for ADALM2000. More...
#include <libm2k/m2khardwaretrigger.hpp>
Public Member Functions | |
| virtual int | getAnalogLevelRaw (unsigned int chnIdx)=0 |
| Get the raw analog trigger level for one channel. More... | |
| virtual void | setAnalogLevelRaw (unsigned int chnIdx, int level)=0 |
| Set the raw analog trigger level for one channel. More... | |
| virtual void | setAnalogLevel (unsigned int chnIdx, double v_level)=0 |
| Set the analog trigger level for one channel. More... | |
| virtual double | getAnalogLevel (unsigned int chnIdx)=0 |
| Get the analog trigger level for one channel. More... | |
| virtual double | getAnalogHysteresis (unsigned int chnIdx)=0 |
| Get the analog hysteresis value for one channel. More... | |
| virtual void | setAnalogHysteresis (unsigned int chnIdx, double hysteresis)=0 |
| Set the analog hysteresis value for one channel. More... | |
| virtual M2K_TRIGGER_CONDITION_ANALOG | getAnalogCondition (unsigned int chnIdx)=0 |
| Get the trigger condition for the analog trigger on a specific channel. More... | |
| virtual void | setAnalogCondition (unsigned int chnIdx, M2K_TRIGGER_CONDITION_ANALOG cond)=0 |
| Set the trigger condition for the analog trigger on a specific channel. More... | |
| virtual M2K_TRIGGER_CONDITION_DIGITAL | getDigitalCondition (unsigned int chnIdx)=0 |
| Get the trigger condition for the digital trigger on a specific channel. More... | |
| virtual M2K_TRIGGER_CONDITION_DIGITAL | getDigitalCondition (libm2k::digital::DIO_CHANNEL chnIdx)=0 |
| Get the trigger condition for the digital trigger on a specific channel. More... | |
| virtual void | setDigitalCondition (unsigned int chnIdx, M2K_TRIGGER_CONDITION_DIGITAL cond)=0 |
| Set the trigger condition for the digital trigger on a specific channel. More... | |
| virtual void | setDigitalCondition (libm2k::digital::DIO_CHANNEL chnIdx, M2K_TRIGGER_CONDITION_DIGITAL cond)=0 |
| Set the trigger condition for the digital trigger on a specific channel. More... | |
| virtual M2K_TRIGGER_MODE | getAnalogMode (unsigned int chnIdx)=0 |
| Get the mode for the analog trigger on a specific channel. More... | |
| virtual void | setAnalogMode (unsigned int chnIdx, M2K_TRIGGER_MODE mode)=0 |
| Set the mode for the analog trigger on a specific channel. More... | |
| virtual libm2k::digital::DIO_TRIGGER_MODE | getDigitalMode ()=0 |
| Get the mode for the digital trigger. More... | |
| virtual void | setDigitalMode (libm2k::digital::DIO_TRIGGER_MODE mode)=0 |
| Set the mode for the digital trigger. More... | |
| virtual M2K_TRIGGER_SOURCE_ANALOG | getAnalogSource ()=0 |
| Get the source of the analog trigger. More... | |
| virtual void | setAnalogSource (M2K_TRIGGER_SOURCE_ANALOG src)=0 |
| Set the source of the analog trigger. More... | |
| virtual int | getAnalogSourceChannel ()=0 |
| Get the channel source of the analog trigger. More... | |
| virtual void | setAnalogSourceChannel (unsigned int chnIdx)=0 |
| Set the channel source of the analog trigger. More... | |
| virtual int | getAnalogDelay () const =0 |
| Get the analog trigger delay. More... | |
| virtual void | setAnalogDelay (int delay)=0 |
| Set the analog trigger delay. More... | |
| virtual int | getDigitalDelay () const =0 |
| Get the digital trigger delay. More... | |
| virtual void | setDigitalDelay (int delay)=0 |
| Set the digital trigger delay. More... | |
| virtual void | setAnalogStreamingFlag (bool enable)=0 |
| Set the streaming flag for the analog part. More... | |
| virtual bool | getAnalogStreamingFlag ()=0 |
| Get the streaming flag for the analog part. More... | |
| virtual void | setDigitalStreamingFlag (bool enable)=0 |
| Set the streaming flag for the digital part. More... | |
| virtual bool | getDigitalStreamingFlag ()=0 |
| Get the streaming flag for the digital part. More... | |
| virtual M2K_TRIGGER_CONDITION_DIGITAL | getAnalogExternalCondition (unsigned int chnIdx)=0 |
| getAnalogExternalCondition More... | |
| virtual void | setAnalogExternalCondition (unsigned int chnIdx, M2K_TRIGGER_CONDITION_DIGITAL cond)=0 |
| setAnalogExternalCondition More... | |
| virtual M2K_TRIGGER_CONDITION_DIGITAL | getDigitalExternalCondition () const =0 |
| getDigitalExternalCondition More... | |
| virtual void | setDigitalExternalCondition (M2K_TRIGGER_CONDITION_DIGITAL cond)=0 |
| setDigitalExternalCondition More... | |
| virtual void | setAnalogExternalOutSelect (M2K_TRIGGER_OUT_SELECT output_select) |
| Select what should be redirected on the TO (trigger out) pin. The options are (none, trigger in, digital in, analog in). . More... | |
| virtual M2K_TRIGGER_OUT_SELECT | getAnalogExternalOutSelect () |
| Check which trigger events are forwarded on the TO (trigger out) pin. More... | |
| virtual void | setDigitalSource (M2K_TRIGGER_SOURCE_DIGITAL external_src) |
| Select which interface triggers the DigitalIn. More... | |
| virtual M2K_TRIGGER_SOURCE_DIGITAL | getDigitalSource () const |
| Check which is the source of the DigitalIn interface trigger event. More... | |
| virtual void | setAnalogOutTriggerSource (M2K_TRIGGER_SOURCE_OUT src)=0 |
| Select which interface triggers the AnalogOut. More... | |
| virtual M2K_TRIGGER_SOURCE_OUT | getAnalogOutTriggerSource () const =0 |
| Returns the source of the AnalogOut trigger event. More... | |
| virtual void | setAnalogOutTriggerCondition (M2K_TRIGGER_CONDITION_OUT condition)=0 |
| Configures the triggering condition when the source of the AnalogOut trigger event is set to TRIGGER_TI_0. More... | |
| virtual M2K_TRIGGER_CONDITION_OUT | getAnalogOutTriggerCondition () const =0 |
| Returns the condition of the AnalogOut trigger event when the source is TI. More... | |
| virtual void | setAnalogOutTriggerStatus (M2K_TRIGGER_STATUS_ANALOG_OUT status)=0 |
| Defines the action to be performed when a trigger event occurs. More... | |
| virtual M2K_TRIGGER_STATUS_ANALOG_OUT | getAnalogOutTriggerStatus () const =0 |
| Returns the action that is performed when a trigger event occurs. More... | |
Controls the hardware trigger for ADALM2000.
1.8.15