10-25-2005 04:55 AM
10-25-2005 02:58 PM
Assuming you're using DAQmx, you can set up a Pause Trigger for each of the counters. (A similar function can be done in traditional NI-DAQ too). You could, for example, configure 2 different digital bits to be used to pause the 2 PWM counters independently. The way 'Pause Triggering' works is that the counter's pulsetrain only goes to the output pin when the pause trigger signal is in the correct logic state. This can be set to be low or high by programming.
You may also want to characterize the speed difference of your actuators, and give them correspondingly proportional PWM duty cycles. That would do a better job of keeping them in sync throughout the motion.
A feedback signal would give you even better options for control.
-Kevin P.
10-25-2005 09:53 PM