Go to Post I can't help but notice during the building sequence, there were a whole lot of student hands working on that robot. Just sayin'. - Taylor [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 20-01-2009, 14:05
writchie writchie is offline
Engineering Mentor
AKA: Wally Ritchie
FRC #2152 (Team Daytona)
Team Role: Coach
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Daytona Beach, Florida
Posts: 148
writchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond reputewritchie has a reputation beyond repute
Re: Custom Dashboard

Thanks. Using your information and looking through the code I think I now have the complete picture.

1. The Robot sends packets to the DS that may include up to 984 bytes of "user status". For the Labview dashboard, the "user status" is formatted into a one byte header and three byte arrays, each preceeded by a 4 byte size. The first byte array is printf strings, the second is error strings, and the third is structured data.

2. When the DS receives a packet from the robot, it formats a UDP packet and sends it to 10.xx.yy.6 on port 1165. The UDP packet contains a 28 byte header as described in Greg's attachment followed by the 984 user status bytes. These can be received and processed by an application, either the standard Labview Dashboard or any other application that can read UDP packets.

3. The 28 byte header information is fixed and always present. The user status data may or not be present depending on what's running in the cRIO.

4. I seem to be missing 6 bytes somewhere (if 1018 is the total and 984 is the correct user status size) but I suspect they'll show up when I start looking at real data.

5. My understanding is that we can either use the Labview format data with a Labview Dashboard, the Labview format data with a custom Dashboard (in Labview or otherwise), or whatever we want to stick into the user status data for use by whatever laptop application we desire.

6. Does anyone know the packet rate for the Robot to DS and/or DS to Dashboard streams?

Thanks Greg for your help.
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
Labview Dashboard and updated IFI dashboard spec Joe Ross LabView and Data Acquisition 1 04-04-2006 02:04
Custom Dashboard - Visual Basic Mike Lat Programming 3 23-01-2005 14:26
Custom Dashboard Executable ready for Download! archiver 2001 1 24-06-2002 01:01
Custom Dashboard code for LabVIEW ready for download. archiver 2001 3 24-06-2002 00:49
Custom dashboard program available. Interest? archiver 2001 4 24-06-2002 00:45


All times are GMT -5. The time now is 03:15.

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