You might also look in the NI Example Finder (from LabVIEW: Help >> Find Examples) for an example on syncronizing AO and AI to the same clock source. That might help.
I didn't look at your code in too much detail, but the loops should be able to run at different rates. The Queue transmission should buffer the data transfer and account for lags on the receiver side.
Jarrod S.
National Instruments