View Single Post
  #2   Spotlight this post!  
Unread 28-03-2012, 07:32
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Offboard Vision Tracking Help

Memory corrupt is a harsh way of saying that the typecast can't create the array of ... from the string that it was given.

Connect the error output of the typecast to the edge of the loop, or to a Clear Error function so that it will run with the error being thrown. Then probe the string and see what it is being given. You may want to look at the type you are sending it and make the constant match exactly. Orange colored numerics can be different sizes, and casting types is precise business.

Greg McKaskle
Reply With Quote