To add to centerbolt's suggestion, you can just specify the source of your di/SampleClock to be one of the internal clocks. You can use the following signals as the source :
• AI Sample Clock
• AI Convert Clock
• AO Sample Clock
• Counter n Internal Output
• Frequency Output
• DI Change Detection Output
So in your application, you can specify the AI sample clock as the source for the di/SampleClock and this way you will just be using an internal source (AI Sample Clock) for the Digital Input sampling as well.
Again, as far as the specifications and limitations on the PFI lines or the AI sample clock, please refer to the
NI cDAQ-9172 User Guide and Specifications.
Regards,
Raajit L
National Instruments