08-31-2006 11:58 AM - edited 08-31-2006 11:58 AM
Message Edited by giggs on 08-31-2006 12:02 PM
Message Edited by giggs on 08-31-2006 12:03 PM
09-04-2006 10:19 PM - edited 09-04-2006 10:19 PM
Message Edited by Travis W on 09-04-2006 10:21 PM
09-05-2006 10:31 AM - edited 09-05-2006 10:31 AM
Travis,
Thank you for your help.
But still the speed of collecting data is too slow. I tested the example(two counter) with USB-6251and function generator at 3kHz.
I connected the pulse signal(3kHz) from the function generator to counter
and digital trigger input(PFI0). For the clock source for AI input I used a Ctr0internalOutput. Then this system synchronized perfectly. But the iteration of while loop is too slow, it only collects less than 100 data points per sec. It means that it is missing most of the trigger signals.
Buy the way I am trying to use another method, called pause trigger. This is collecting data continously when trigger is high or low. If I can control the trigger pulse width, this may be better solution for my job. But my adviser want to incorporate this program to our main instrument interface program designed from LV, and he doesn't want to use while loop for sub instrument interface program. Is there any ways that I can execute pause trigger example without while loop?
(Basically, In order to use pause trigger example I need to buy delay generator. So If I can do the same job without using pause trigger example, that will be the best way for my job)
Message Edited by giggs on 09-05-2006 10:34 AM
09-06-2006 06:04 PM