View Single Post
  #4   Spotlight this post!  
Unread 24-02-2015, 21:35
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 522
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Can't get current from PDP, crashes.

EDIT : oops left editor open for too long....

That error occurs when you are trying to get signals from a CAN device you haven't received updates from. If possible you should catch that exception so it doesn't crash your app. Not sure how to do that in Py tho. Maybe someone else can recommend?

Is the PDP device ID the correct value, specified under "PDP CAN ID".
http://wpilib.screenstepslive.com/s/...ribution-panel

Does the PDP show up in the web-based config?
http://wpilib.screenstepslive.com/s/...ribution-panel