07-31-2006 03:03 PM - edited 07-31-2006 03:03 PM
Message Edited by dfd on 07-31-2006 03:04 PM
08-01-2006 12:40 PM
08-01-2006 02:47 PM
Hello David,
How many counter output pulses do you need per group of analog input samples? If the number of pulses is the same as number of AI samples, you can use that counter as the sample clock for AI task and very easily achieve what you are trying to do.
If you only have one pulse per group of AI samples, you are correct in thinking that you need to do a retriggerable AI measurement. Retriggerable analog input requires the use of the counter to create the sample clock signal for the analog input. However, setting up a counter output task to be retriggerable uses 2 counters, one to create the pulses and the other to count them so you do not have enough counters on an MIO board to do both retriggerable AI and a frequency pulse generation.
If you expect the time between sets of AI samples to be somewhat long, you could simply stop the AI task and restart it in software, using the first counter output pulse as a trigger.
I hope this helps you with planning how your operation needs to work. Please let us know if you have additional questions.
Regards,
Laura
08-04-2006 12:13 PM