View Single Post
  #1   Spotlight this post!  
Unread 19-02-2010, 17:44
dnrobotics11 dnrobotics11 is offline
Registered User
FRC #2589
 
Join Date: Mar 2008
Location: Massachusetts
Posts: 55
dnrobotics11 is an unknown quantity at this point
Pneumatics Code Questions

Hey everybody,

I have two questions about the pneumatics code in C++. First of all, when you are initializing the solenoids with the "s = new Solenoid(x, y)" statement, what are the two arguments 'x' and 'y'? One of them is clearly the digital port on the cRIO but what is the other and what is the order of them?

Also, on the cRIO, one of the PLCs (or whatever they are called) is made for the solenoid ports. Which slot does this go into on the cRIO board?

Thanks for the help!
Reply With Quote