Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   How to access 2nd Pnuematic Control (http://www.chiefdelphi.com/forums/showthread.php?t=138310)

ScottRandallWay 27-09-2015 12:48

How to access 2nd Pnuematic Control
 
Our robot features two pnuematic module controllers. We can access the ports on the first module properly (0-7). I am unclear how to access the solenoids hooked to the second unit. When you create a new Solenoid object one of the constructors takes a module number and a port. I assume I need to use this call and designate the proper module number. Am I on the right track? How do I figure out what the module number is?

Scott

notmattlythgoe 27-09-2015 13:53

Re: How to access 2nd Pnuematic Control
 
Quote:

Originally Posted by ScottRandallWay (Post 1497703)
Our robot features two pnuematic module controllers. We can access the ports on the first module properly (0-7). I am unclear how to access the solenoids hooked to the second unit. When you create a new Solenoid object one of the constructors takes a module number and a port. I assume I need to use this call and designate the proper module number. Am I on the right track? How do I figure out what the module number is?

Scott

Next module will be 1.

Joe Ross 27-09-2015 15:24

Re: How to access 2nd Pnuematic Control
 
Quote:

Originally Posted by notmattlythgoe (Post 1497707)
Next module will be 1.

The next module will be whatever address you assign in the roboRIO WebDash: http://wpilib.screenstepslive.com/s/...ribution-panel. A new address needs to be assigned so that it won't conflict with the existing PCM, as both have an address of 0 by default.


All times are GMT -5. The time now is 10:21.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi