Trigger both channels of ADC

Applications, development tools, FPGA, C, WEB
Post Reply
Pineapple
Posts: 7
Joined: Fri Oct 26, 2018 11:20 am

Trigger both channels of ADC

Post by Pineapple » Thu Nov 29, 2018 10:24 am

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.

Kilroy
Posts: 26
Joined: Thu Feb 19, 2015 11:03 am
Location: Moenchengladbach, Germany
Contact:

Re: Trigger both channels of ADC

Post by Kilroy » Thu Nov 29, 2018 10:36 am

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

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 5 guests