using the external trigger with an ADC212/3

 
Post new topic   Reply to topic    Pico Technology Forum Index -> General Software Discussions
Author Message
artner
Newbie


Joined: 20 Jan 2005
Posts: 1

PostPosted: Thu Jan 20, 2005 12:14 pm    Post subject: using the external trigger with an ADC212/3 Reply with quote

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.
Back to top
Sarah
Guest





PostPosted: Tue Feb 01, 2005 9:09 am    Post subject: Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pico Technology Forum Index -> General Software Discussions
All times are GMT
Page 1 of 1

 


Pico Technology topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group