View Single Post
  #10   Spotlight this post!  
Unread 03-22-2010, 01:17 PM
Michael DiRamio Michael DiRamio is offline
Registered User
FRC #1114 (Simbotics)
Team Role: Teacher
 
Join Date: Jan 2006
Rookie Year: 2006
Location: St. Catharines, Ontario, Canada
Posts: 39
Michael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond repute
Re: cRIO upgrade v20 relay problems

It's also possible that an exception is being thrown by the wait.

It's a good idea to always output something in the catch statement just in case an exception is thrown.

Something like

Code:
try {
  // your code that may throw exception
} catch (Exception e) {
   System.err.println(e);  // this will print the stack trace of the exception
}
This way you'll be able to tell in the output if something wacky is happening.
Reply With Quote