adc200_set_trigger Probs

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





PostPosted: Fri Jan 24, 2003 2:24 am    Post subject: adc200_set_trigger Probs Reply with quote

Please Help,

I am writing a program to trigger at 5volts as shown below, everything works fine, except it will only wait 10seconds and then automatically trigger. I need it to wait longer (indefinately)

Shane





adc200_set_frequency (0); //sig gen off
adc200_set_channels (A200_CHANNEL_A); //chan a only
adc200_set_trigger (TRUE, 0, 0, 0, 1024);
//set trigger at around 5V as 2048 would be 10V

max_mv = adc200_set_range (0, 10000); /set range to 10V
adc200_set_oversample (5); //set over sample 5
adc200_set_dc (0, 1); //channel a to dc
adc200_set_timebase (&ns, &is_slow, 2);

//set timebase to 2 (20*2(2)*5) = 1 sample per 1us
Back to top
300478
Guest





PostPosted: Fri Jan 24, 2003 4:13 am    Post subject: Update - Still got a Prob Reply with quote

This problem occurs on windows xp, 2k and 98. Im using microsoft visual studio 6 to compile it.



Any ideas?

Cheers

Shane
Back to top
300478
Guest





PostPosted: Fri Jan 24, 2003 5:04 am    Post subject: dont worry i fixed it. Reply with quote

its fixed
Back to top
MSaran
Guest





PostPosted: Fri Jul 08, 2005 6:32 pm    Post subject: Same problem!! Reply with quote

What did you do to solve the problem?
I need to wait for a trigger and the unit don't wait for it correctly.
But the unit gets the data without waiting for the trigger.

Thank you

Cheers

Marco Saran
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