01-03-2007 03:08 PM
01-03-2007 11:34 PM
Generating a 0 volts on the AO channel would be the sure shot way of stopping your motor.
Which DAQ card are you using?? are you using LabVIEW??
There is a Reset Device function which will return the device to its initialized state
See if using this function will bring your AO to 0V ( I do not have DAQ card with me. Hence I could not try it and suggest)
01-04-2007 08:50 AM
Are you running open loop or closed loop? If open loop, you should be fine with setting the voltage to 0 and letting the motor coast down. If closed loop, you may need to consider the effect that a velocity step command will have on your motion system.
Unfortunately, it isn't always trivial to figure out what voltage you're presently generating so you can ramp your way down to 0 more gently. IMHO, your best bet would be to wire your AO over to an AI channel so you can read your output voltage when it's time to ramp to 0.
FYI, here's an old thread I got into once that related somewhat to the need/desirability to ramp gently to 0. Late in the thread I highlighted a "wishlist" for some DAQmx properties that ought to be available. Like the ability to query an AO task for the value being output at the DAC, preferably any time but certainly whenever the task is stopped. It's also possible this ability has been added as I haven't checked again for the last several DAQmx versions.
-Kevin P.
01-05-2007 12:15 PM
| output_volt_special.vi (81 kb) |
01-05-2007 12:53 PM
01-05-2007 06:32 PM