I've had a similar task to this in that I wanted to synchronise a read and write task. How I did it was to set up each function as a seperate task, bind them both to use the same sample clock. Place the tasks in a read state, then start the clock. The tasks are then perfectly synchronised.
I've attached a vi that I hope shows you what I mean.
If you've got a more advanced DAQ than I'm using (6221) then I'd recommend looking at features such as edge detection for the triggering and sychronisation of tasks - and there appears to be alot of other ways of doing it.
good luck
Message Edited by davidpcl on 04-25-2006 05:49 AM
David Clark
CLA | CTA
Genesee Technologies Ltd
Hampshire, England