01-03-2007 12:54 PM
01-03-2007 03:45 PM
1. What you're doing with Ctr 1 is called a "finite retriggerable pulse train." Under DAQmx, when you configure a counter to generate a finite pulse train, a 2nd counter is automatically & silently configured to help with the task. The counters on your board are paired in the following 4 groups: (0,1), (2,3), (4,5), (6,7). So if Ctr 1 creates the 3 short pulses, Ctr 0 will also be used by the DAQmx driver. It won't be available for you to use in any other way.
2. Assuming you go ahead and use Ctr 1 to generate the 3 pulses, you'll need to use your last unused counter (something other than Ctr 0) to generate the trigger signal once every 2000 encoder cycles. I would just configure it for pulse generation with settings of 1000 low ticks and 1000 high ticks. Essentially, you'll get a divide-by-2000 clock which will produce a single trigger edge every 2000 encoder cycles.
-Kevin P.
01-03-2007 04:29 PM