![]() |
cRIO/Solenoid/NI9472/Code Programming Problem?
Hello! We're having some trouble getting our solenoids to work. When we plug our NI9472 (Solenoid Module) into the cRIO and open the Imaging Tool, it shows that it is plugged into the cRIO (4 slot), but when we plug it into the cRIO and connect our solenoids to the Solenoid Breakout, the lights on the Module don't light up, and when we enable the Drivers Station and press all of the buttons, no solenoids fire. We have a Wago (24v, 24v solenoids) connected to our Solenoid Breakout so it is getting power. When we move the NI9472 from the third slot to the first slot (we know it's for the NI9401, but we were just testing things), 3 of the lights on the NI9472 lit up, so we know that the Module works, but the lights don't light up when the NI9472 are in the 3rd or 4th slots of our cRIO. This doesn't make sense to us, considering the fact that we used the same cRIO last year and our robot from last year was mainly pneumatics based, so it worked last year, but is not working now. The solenoids we are using this year are the same ones we used from last year, so they would not be the problem. The only reasonable explanation that we can come up with is that we coded something wrong in LabVIEW, but we don't know what! We followed Team 358's guide to coding double solenoids. HELPPPPPPP! Do we have to program the module somehow, or did we code the solenoids wrong? Any suggestions are fine! :ahh: :eek: :ahh: :eek: :ahh:
|
Re: cRIO/Solenoid/NI9472/Code Programming Problem?
Double check that wires are properly connected both in the robot and in the program, and that the program matches the robot (Relay 1 really is in Relay 1 etc.). If you reference the compressor or solenoids in more than one place in the code, make sure that the refnum name is completely identical in all places (its easy to accidentally put in spaces). But it could just as easily be that a wire is bad and needs replacing so try other wires or testing the ones you have hooked up elsewhere.
|
Re: cRIO/Solenoid/NI9472/Code Programming Problem?
Quote:
|
Re: cRIO/Solenoid/NI9472/Code Programming Problem?
We actually have never put our solenoids in the "Finish.vi". I'm not sure how much of a difference that makes though.
|
Re: cRIO/Solenoid/NI9472/Code Programming Problem?
Could post pictures of the code in labview?
|
Re: cRIO/Solenoid/NI9472/Code Programming Problem?
I'd suggest a couple of tests with the solenoid module in the 3rd slot.
Run the default solenoid example, and use test mode in your existing code to see if the solenoids work there. 1) Run the solenoid example found from the Getting Started window (the one that comes up when you first start LabVIEW).
2) Use Test mode to check your code.
|
Re: cRIO/Solenoid/NI9472/Code Programming Problem?
Quote:
|
Re: cRIO/Solenoid/NI9472/Code Programming Problem?
Quote:
|
Re: cRIO/Solenoid/NI9472/Code Programming Problem?
If you keep having trouble I can come by to help troubleshoot maybe on Wednesday or Thursday.
|
Re: cRIO/Solenoid/NI9472/Code Programming Problem?
Thanks, if we don't have it down by then, your help would be much appreciated.
|
Re: cRIO/Solenoid/NI9472/Code Programming Problem?
If all else fails, make sure you don't have any broken or bent pins on the 3rd slot of your cRIO.
|
| All times are GMT -5. The time now is 09:55. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi