Go to Post I don't need sleep, just more Mountain Dew. Oh, and a muffin. - hallk [more]
Home
Go Back   Chief Delphi > Technical > Pneumatics
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 25-02-2016, 14:45
alambert14's Avatar
alambert14 alambert14 is offline
Student Programmer
AKA: Abby Lambert
FRC #2035 ("Rockin" Bots)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Carmel
Posts: 14
alambert14 is an unknown quantity at this point
Unhappy Code Not Recognizing Second PCM

I asked a question on here a while ago asking how to wire multiple PCMs, and I wired in in the can bus in series exactly how people said. As I can see on the roboRIO system configuration, the roboRIO recognizes both PCMs and has labeled them 0 and 1. However, when I upload our code to the roboRIO, and enable the robot, it says

Unhandled exception: edu.wpi.first.wpilibj.util.AllocationException: Solenoid channel 0 on module 1 is already allocated at [edu.wpi.first.wpilibj.Solenoid.initSolenoid(Soleno id.java:41)...

I have not allocated that channel anywhere in the code, and it gives the same error no matter what module ID I use or channel number.

Has anyone else had this same issue? Are the PCMs wired wrong? Thanks
__________________
 


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 05:26.

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