08-07-2008 10:16 AM
Solved! Go to Solution.
08-07-2008 11:28 AM
Hi,
Unfortunately I don't think there is a single elegant solution for this but I think there could be a way around it using counters and a fixed buffer size.
The analog output would be configured as normal.
Counter 1 would be configured on generate pulse train to generate one pulse for n ticks of the AO sample clock where n is the size of the buffer.
Counter 2 would produce a retriggerable pulse train that is triggered by counter 1. Examples on this are in the example finder at hardware input output>> DAQmx >> generating digital pulses >> Gen Dig Pulse Train-Finite-Retriggerable.vi . If you have not come across this before it basically produces a signal of n pulses on a trigger and can do this over and over again.
Finally the analog input would have to be a finite acquisiton (as I presume it would be) but would be set up as a continous acquisition but with the output from counter 2 as the sample clock. I attach an example that configures a counter and an analog input for this retriggerable acquisition.
I hope this what you were after.
Regards,
08-07-2008 02:39 PM
08-08-2008 03:04 AM
Hi Michael,
Apologies attached is the example. Best of luck!
Regards,