View Single Post
  #9   Spotlight this post!  
Unread 03-02-2014, 15:47
cgranata cgranata is offline
Team Captain
FRC #1396 (Pyrobots)
Team Role: Electrical
 
Join Date: Oct 2012
Rookie Year: 2010
Location: Staten Island, NY
Posts: 39
cgranata is an unknown quantity at this point
Re: Solenoid Breakout Code Help

Quote:
Originally Posted by Alan Anderson View Post
I think you're working from documentation that is out of date by many years.



The first parameter doesn't specify the slot number in the chassis. It specifies the "module number", which is either 1 (for the first module of a given type) or 2 (for the second module). If you're putting your NI 9472 module in slot 3, it's module number 1. If you're putting it in slot 4 of a 4-slot cRIO or slot 7 of an 8-slot cRIO, it's module number 2.

Slot 8 of an 8-slot cRIO is always empty.
Thank you Alan for your quick reply to the matter!! I appreciate you taking the time to read through our code (even though it was messy). Thanks for letting us know about the [code] tag!