08-09-2010 10:58 AM
Hi,
i´m using a PCI 6221. Is it possible to generate to different and independent pulses on ctr0 and ctr1. I am using ctr1 to trigger a camera and i need a second independent pulse to control a steppermotor-card. Is there any possibility to do that?
thanks
nerdi
08-10-2010 02:59 AM
Hey,
If you want to generate a continous pulse train the answer is yes.
But when generating a finite pulse train, both counters will be needed for for this.
Christian
08-10-2010 12:18 PM - edited 08-10-2010 12:19 PM
Christian is absolutely correct. I just wanted to make it clear that you may generate single pulses on each counter independently. The only limitation is with generating a finite (greater than 1) train of pulses. Older hardware requires the use of both counters to generate the finite pulse train. X Series boards and cDAQ chassis (other than the 9172) do not have this restriction.
Best Regards,
08-12-2010 07:13 AM
There's one other sneaky thing you might be able to do if this app isn't using AI and/or AO. You can configure finite sampling tasks for the AI or AO subsystem and then export its sample clock signal to a PFI pin.
You might be able to operate your stepper for a finite number of steps at a constant pulse rate this way. You probably will want to use a real counter to get the timing right for your trigger signal.
-Kevin P