Page 1 of 1

Trigger both channels of ADC

Posted: Thu Nov 29, 2018 10:24 am
by Pineapple
Hi,

I'm trying to acquire data from the ADC through an API in C.
My system works fine when I use a single channel but I would like to have a system that acquires data from both the channels when one of the two signals exceeds the triggering threshold.

The instruction:

Code: Select all

rp_AcqSetTriggerSrc(RP_TRIG_SRC_CHA_PE);
Allows me to enable the triggering on one channel but if it is followed by the other instruction:

Code: Select all

rp_AcqSetTriggerSrc(RP_TRIG_SRC_CHB_PE);
the previous one seems to be overwritten.

What i obtain using both those functions is that I can acquire data from both the channel only when CHB is triggered, but this is not what i want. I need to acquire data also if only CHA is triggered.

Is there a solution to this problem via software or do i necessary need to use an external trigger common for the two channels?

Thanks in advance for the help.

Re: Trigger both channels of ADC

Posted: Thu Nov 29, 2018 10:36 am
by Kilroy
If you compare that to a regular oscilloscope then you won't find such a function there either.
Probably you can not change that behaviour except when modifying the FPGA and the software.
Regards
Uwe