|
Re: Button not working, axis are.
Okay, I was hoping someone else would show up to draw up the correct solution, since I don't have Labview installed at the moment.
Anyways, you're definitely setting the output for the motor twice, because you have a set output VI in each of those case structures. To fix that, you need to do two things:
1. Only use one set output VI per motor. Delete all the Set output VIs in those case structures. Put one Set Output VI outside the case structure.
2. Use values inside the case structures to feed the Set Output VI. You want one big case structure with +1 inside the TRUE case, and ANOTHER small case structure inside big one's FALSE case. Then, put a -1 in the TRUE case of the smaller structure, and a 0 inside the FALSE case of the smaller structure.
I'll try to hack up a drawing in Paint or something since I don't have Labview. Or maybe we'll get lucky and someone with Labview will wire up what I just described. Feel free to post a screenshot of your attempt at what I just described there.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.
Lone Star Regional Troubleshooter
|