Hello,
I have looked into your vi. You are using the function "AO C-GEN", I believe that this is taking up the time. The Ao C-GEN is a higher level. What you need to use is lower level functions such as AO Config, AO Write etc. If you expand the AO C-Gen.vi then you will see the lower level vis in this function but, each time you iterate the main while loop (of the vi that you have created, it goes into this AO C-GEN vi, which re configures the AO and then, AO Writes etc (Within a loop).
What you need to do is use the lower level fuction and basically use the AO configure, also AOStart on the outside of the main while loop, with the AO write in the while loop and then use the AO Clear at the other side of the while loop. This should increate timing issues.
I hope that this helps
Kind Regards
Louis Price
Applications Engineer
NI UK