Test and Measurement Forum

adc200_set_trigger Probs

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

adc200_set_trigger Probs

Postby 300478 » Fri Jan 24, 2003 2:24 am

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)


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

Update - Still got a Prob

Postby 300478 » Fri Jan 24, 2003 4:13 am

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

Any ideas?



dont worry i fixed it.

Postby 300478 » Fri Jan 24, 2003 5:04 am

its fixed

Same problem!!

Postby MSaran » Fri Jul 08, 2005 6:32 pm

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


Marco Saran

Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests