using the external trigger with an ADC212/3

Post general discussions on using our drivers to write your own software here
Post Reply
artner
Newbie
Posts: 1
Joined: Thu Jan 20, 2005 11:59 am

using the external trigger with an ADC212/3

Post by artner »

Hi

I've problems with the external trigger.

I write a software (MSVC6.0) with following settings.

adc200_set_fequency(1000);

channels: both
range: 0, 8
oversample: 1
timebase: 8
trigger: TRUE, SRC_A,max_dirs,0,1000
run: 1000
wait until ready

This code works well. The trigger waits until the value of Ch A is above 1000


if I use the same code, but an other triggertype

trigger: TRUE, SRC_EXT,RISING, 0,1000

It doesn't matter if there is a rising or falling slope (5V) on the external trigger. ->
the adc212 collects the data immediately.

Sarah

Post by Sarah »

Hi

Thank you for your post.

I would recommend testing the external trigger in Picoscope. If you sets up Picoscope to use Auto and Ext then the software will only take a sample when the threshold is passed or a time out occurs. If it works correctly in Picoscope then it should also work in your application.

Also make sure the signal_generator function has been called previously and it has been disabled.

Hope this helps

Best Regards

Post Reply