11-15-2010 04:43 AM
hi
i'm trying to make a simple control action on a dc motor using a usb6259: generate a voltage output and read the position.
Now, i'd like that the signal output goes to zero when i press the stop button..any suggestion?
11-15-2010 06:53 AM
Just do a DAQmx Write with a 0 value before you stop the task.
11-15-2010 07:33 AM
i've done it before open this thread but it doesn't works..
now i reach my objective stopping both task before write to 0
thanx
11-17-2010 03:44 AM
You could use a structure to events in order to set the output to zero when you press the stop button.
I am attaching an example that might be useful
I hope it is useful
Sabrina Nicosia