Ville,
For this application, you will want to use the Z output as the analog input start trigger and either the A or B output as the analog input scan clock. The example Cont Acq&Graph ExtScanClk D-Trig.vi demonstrates how to implement both a digital start trigger and an external scan clock. This example is available from the following location:
Examples >> Hardware Input and Output >> Traditional DAQ >> Analog Input >> General
Good luck with your application.
Spencer S.