11-10-2011 01:26 PM
I am trying to control a linear actuator with an h-bridge via digital outputs. The digital outputs are outputed with the "write to digital port" express VI. The code seems to work in that the DO LEDs are lighting up but Im not getting any power. Whenever I write to that port, I would like that to be in effect until the next time I write to it. I believe Im doing that, but not positive. If I am, Im guessing I just need a more robust power supply and thats why Im not getting power to the motor. If the code Im using is not working as I expect, what could I do to write to that port better?
11-14-2011 05:39 PM
Hi M_Goodhart,
From what I'm able to see, it's very likely that you are having some power issues. It would be very helpful to know what module are you using for outputing the signals. Additonaly, I would like to know what your H-Bridge requirements are.
Looking forward for your response. Have a great day!
11-14-2011 05:48 PM
It turns out that I was sending the wrong outputs! I was trying to retract when I wanted to extend and vice versa. You were right though, it was also a power issue. I used two 9V batteries in parallel this time and it had plenty of power. Thanks!