|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools |
Rating:
|
Display Modes |
|
#3
|
|||
|
|||
|
Re: Solenoid Breakouts?
I tried getting this to work today; I managed to get a green light on the solenoid breakout, but after defining the solenoid objects, using the Set() function did nothing.
Our code looks something like this. Solenoid *solenoidOne; Solenoid *solenoidTwo; solenoidOne = new Solenoid(1); solenoidTwo = new Solenoid(2); Into operator code... if(joystick->GetTrigger()) { solenoidOne->Set(true); solenoidTwo->Set(false); } else { solenoidOne->Set(false); solenoidTwo->Set(true); } I might be doing something completely wrong here. This our first year using pneumatics with the new control system, so I'm a bit confused. The code manages to get into the if statement, but the solenoid commands do nothing. Is there anything glaringly wrong that you can see? |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| multiple solenoid breakouts | Wendy Holladay | Electrical | 2 | 26-01-2010 09:10 |
| 2 SOLENOID BREAKOUTS? Legal? | BaByGrL | Pneumatics | 1 | 19-01-2010 14:04 |
| Solenoid Question | RookieWookiez | Pneumatics | 2 | 18-01-2010 18:35 |
| how many analog breakouts do we actually need? | team2192 | Electrical | 6 | 16-01-2010 11:25 |
| Programming a Solenoid | Brigander | Pneumatics | 4 | 17-02-2007 14:06 |