DELAY TIME TRIGGER EVENT COLLECTED BY PICO TO THE READY

Post general discussions on using our drivers to write your own software here
Post Reply
epiksrl
User
User
Posts: 5
Joined: Mon Jan 23, 2006 5:53 pm

DELAY TIME TRIGGER EVENT COLLECTED BY PICO TO THE READY

Post by epiksrl » Mon Feb 06, 2006 5:12 pm

I HAVE TO TRIGGER A SIGNAL FROM A MOTORCYCLE AND I HAVE TO USE TRIGGER FOR CALCULATING ROUND SPEED.

adc200_set_trigger( TRUE,0,0,0,1000);
while(1){
adc200_run(1);
while(0 == adc200_ready()){
sleep(1);
}
adc200_stop();
<statements to calculate time/frequency between two spike>
}

if i work till 3000 round/sec I calculate well the round/sec if the round/sec increase I don't read well, my question is

HOW MANY DELAY TIME THERE IS FROM THE TRIGGER EVENT COLLECTED BY PICO TO THE adc200_ready() ANSWER 1

MY PROBLEM IS THAT WITH > 33 hz I DON''T GET ALL THE SAMPLE

PLEASE ANSWER ASAP, IT IS VERY URGENT

Michael
Advanced User
Advanced User
Posts: 656
Joined: Thu Jul 07, 2005 12:41 pm
Location: St Neots, Cambridgeshire

Post by Michael » Thu Feb 23, 2006 11:19 am

Hello,

It is not possible to put an exact number to this.

You will need to try using the trigger and buffer together to capture the full cycle. Estimating the timebase is down to the ADC200, you will have to experiment to obtain optimum settings.

Best regards,
Michael
Michael - Tech Support
Pico Technology
Web Support Forum

Post Reply