Go to Post You can't simply bring another 100 teams into FIRST and have them all asking Andy Baker questions. - Rich Kressly [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-09-2015, 12:48
ScottRandallWay ScottRandallWay is offline
Registered User
FRC #2543
 
Join Date: Sep 2015
Location: San Diego
Posts: 9
ScottRandallWay is an unknown quantity at this point
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
Reply With Quote
  #2   Spotlight this post!  
Unread 27-09-2015, 13:53
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,715
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: How to access 2nd Pnuematic Control

Quote:
Originally Posted by ScottRandallWay View Post
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 27-09-2015, 15:24
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: How to access 2nd Pnuematic Control

Quote:
Originally Posted by notmattlythgoe View Post
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.

Last edited by Joe Ross : 27-09-2015 at 16:44.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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