Test and Measurement Forum

using the external trigger with an ADC212/3

Post general discussions on using our drivers to write your own software here

using the external trigger with an ADC212/3

Postby artner » Thu Jan 20, 2005 12:14 pm


I've problems with the external trigger.

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


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.
Posts: 1
Joined: Thu Jan 20, 2005 11:59 am

Postby Sarah » Tue Feb 01, 2005 9:09 am


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

Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests