Hi Kevin,
I would start with something simpler and slowly build up to your application. The first thing I would do is perform AO on your 6733 board and connect the signal tothe E Series board. I would use all shipping examples initially. The two examples I would use first are Generate Continuous Sinewave.vi for output and then use Acquire N Scans Digital Trig.vi for your input. What I would do is start the output VI and then start the input VI. If you successfully acquire data with a pretrigger, you can slowly add customization.
What I would do next is add the trigger code to the analog output (or use a corresponding shipping example). When that works, I would route the AO trigger through the RTSI bus and configure your AI to start on that RTSI. Fin
ally, you can share the board clock of both boards using the same method.
By taking it one step at a time you will be able to see where it fails or no longer responds as expected. From looking at your code, I also believe that if you are getting pre-trigger scans (samples) based on the start of your analog output, you might not have values on your analog input (if you are connecting the two).
Anyway, hope that helps. Have a good day.
Ron