Quote:
Originally Posted by chriz4gx
Thxs, now I understand better, but how about the double solenoids and a pressure switch(Do I have to program that?, If so how). My team wants it that when you press one button the piston goes forward and when you press it again it comes back down.Also, When i went to the actuators on Labview I saw their is a "Relay" what exactly is this. I also saw an example from team 358 and I'm quite confused. So my team is connecting the Double Solenoids straight to the Digital Sidecar since we don't have the correct Crio Solenoid Bumper. So I would program it like the "Solenoid connected to Spike/Relay" example correct? One more thing since the example is only using One Solenoid do I have to copy that same code and change some of the constants since were using two solenoids? I'm sorry I'm asking so much questions. Thxs for the help 
|
Yes, you'd copy it and use a second relay to control the second solenoid of the double solenoid. There is actually a way to use one relay to control both solenoids, but I can't recall if it's legal this year or not.
The best solution is to use the solenoid module and breakout, though. It takes up much less space than a bunch of relays.