04-30-2007 02:50 PM
05-01-2007 10:56 AM
I would wire to the PFI pins associated with the Gate input of either Ctr0 or Ctr1. These PFI pins are *not* shared with DIO functions so there's no chance of conflict with future DIO usage.
Both period and pulse width measurements should allow you to successfully specify any of the Gate input PFI pins as the signal source. You shouldn't need to call any explicit signal routing functions if you're using DAQmx -- it handles most stuff auto-magically.
Another option may be to configure for semi-period measurement. Depending on the polarity setting, the pulse widths will be either the even or the odd values in the measurement data. The periods will simply be the sum of adjacent pairs of values, though you may need to ignore the very first value in a buffered measurement -- it represents the (meaningless) time from starting the task until the first active edge.
Sorry, not at a LV machine to create & post an example...
-Kevin P.