|
Re: Solenoid Issue
Yes, the breakout is the smallish circuit board that plugs into the NI 9472 module. Like Alan said, there is one led on the breakout to indicate it has power, and then there are 8 leds on the NI 9472 module itself. If you cant see a reaction from any of the 8 leds, then try assigning an empty solonoid channel, lets say chanel 8. So in begin all you need to do is open the solenoid and assign it to channel 8, and then do a solenoid set with a constant of on wired to the input. Now when run the code and enable your robot the led indicator for channel 8 will go on and never turn off. So hopefully that will help you find the leds. Your code seemed as if it should do what you wanted to, once you find the led's and see if they are actuating you will know if the code is responding correctly. if the leds actuate but the valve does not bu sure to check the wiring and voltage requirements of the solenoid valve.
|