Physicsapps,
In this example, the output generated will be ouput on your ao0 line, as configured in your example code. Your example code is configured such that the timer used for generating output is expected to be input on PFI7, and the digital trigger which will start the acquisition should be input on PFI0. So in summary, connect your clock source to PFI7, the digital trigger to PFI0, and then you should see a signal on the ao0 line.
I hope this helps,
Dan