Post Go back to editing

ADALM2000 digital trigger

Category: Software
Product Number: ADALM

I'm using ADALM2000 with libm2k and I want to use digital trigger TI instead of analog.

Example code is like following:

#ifdef TRIGGERING
    // setup analog trigger
    trig->setAnalogSource(CHANNEL_1);
    trig->setAnalogCondition(0,RISING_EDGE_ANALOG);
    trig->setAnalogLevel(0, 0.25);
    trig->setAnalogDelay(0);
    trig->setAnalogMode(0,ANALOG);
#endif

I have replaced it with

trig->setDigitalSource(SRC_TRIGGER_IN);

It does not work like I hoped. How to setup Digital trigger (TI) with c++/libm2k?