Dave,
Your approach is very good and it would be working but for one small detail, you probably want to use Update clock instead of Interval clock.
Some suggestions:
- Although theoretically you can route any signal to RTSI and read it back from the same pin, I would recommend that you use PFI pins as these temporary signal nodes. Route your ScanStart signal to PFI7.
- Instead of setting the Interval clock, set the Update Clock of your Analog Output to PFI7.
I attach a project I just created that does this. It basically uses the Scan Clock (ScanStart) as the Update Clock of the Analog Output operation. The AO operation is left as a continuous, regenerative operation, but since its clock is external it only outputs data when the acquisition run
s (and the Scan clock exists.
The interval clock is a very interesting feature that allows you to specify an initial delay for the waveform generation. One requirement is that on-board regeneration must be allowed. Refer to the Measurement Studio Reference Help for more information on the Interval clock for AO (National Instruments -> Measurement Studio -> Help -> Measurement Studio Reference).
I hope this helps,
Alejandro Asenjo
Applications Engineer
National Instruments