Hello,
From what I understand you are trying to setup an analog input acquisition using an external scan clock. Then use a counter to produce the external scan clock.
Here are two examples written in C. One sets up an E-series DAQ board to recieve an external scan clock on PFI7 and the other sets up Counter 0 to output a pulse train.
You would just need to mesh these two examples together and wire the OUT pin of counter 0 to PFI7 (SCAN_START pin).
If you are using Counter 0 you could also change the Select Signal call in the AI external scan clock example to ---Select_Signal(iDevice, ND_IN_SCAN_START, ND_GPCTR0_OUTPUT, ND_LOW_TO_HIGH);---, which would elminate the need for external wiring and would wire the OUT of counter 0 to the scan clock.
The
following examples ship with NI-DAQ and can be found by installing support for Visual C or LabWindows/CVI.