View Single Post
  #5   Spotlight this post!  
Unread 20-01-2012, 23:18
mikegrundvig mikegrundvig is offline
Registered User
FRC #2410 (Metal Mustangs)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 100
mikegrundvig is an unknown quantity at this point
Re: Sending data to cRIO

You mention onboard computer so I assume you are putting a separate computer on the robot. Have you thought about using a null-modem cable and a serial connection? The cRIO appears to have raw serial support and the serial port is generally quite simple to use - lots less machinery than even a restful server and HTTP. Most good serial apis (and I know there is at least a few good Java ones) let you send and receive a variety of data types. Worst case scenario would be to use strings. I know the cRIO can send bytes as well as use things like printf with the serial port.

-Mike