View Single Post
  #4   Spotlight this post!  
Unread 17-11-2013, 20:30
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,751
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: Data Logging to cRIO using c++

There is nothing wrong with your approach, so there must be something wrong with the implementation.

Review the code that writes the binary to ensure that it writes what you expect. Pay special attention to conditional code.

ftp the file three ways, once using binary mode, once using text mode, and once with automatic. Use file size or contents or diff to determine if the auto matched binary or text. My suspicion is that the file was corrupted during the transfer using text mode.

Review the code that parses the binary file, again paying close attention to any conditional code.

Greg McKaskle