Go to Post FIRST is not a destination, its not the reward, its the slingshot that will launch you from where you are, to where you can be. - KenWittlief [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 16-03-2010, 11:07
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Enabling Default Dashboard in C++

Quote:
Originally Posted by Dave Scheck View Post
So, to dig deeper, lets look at the internals of sendIOPortData(). The first thing it does is get a reference to the low priority dashboard packer. The packer contains the data that will be pushed onto the bit stream. My understanding that the low and high priority packers don't actually have different priorities in the data stream itself. On the receiver side, if the buffer is too large, the low priority packet is truncated.
This is correct. The UDP datagrams sent from the robot are a fixed size (1018 bytes IIRC). After the header, high-priority data is packed, followed by error strings, then by low-priority data. The low-priority data is truncated to the packet size minus eight bytes. The last eight bytes contain four bytes of padding (bytes with a value of 0) and a CRC 32-bit checksum (for error detection).
__________________
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Camera picture on Dashboard with default project code? neg0riz0r NI LabVIEW 2 18-02-2010 10:53
Camera working in C++ and default dashboard pafwl C/C++ 0 03-02-2010 22:06
Classmate Question: Default Path Location for Driver Dashboard Ziaholic FRC Control System 4 25-01-2010 13:56
Default Labview Dashboard and Windriver Example Help sircedric4 Programming 7 25-02-2009 01:58
Help with connecting default dashboard project mminutto NI LabVIEW 2 30-01-2009 15:26


All times are GMT -5. The time now is 14:01.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi