Go to Post "How do we make our team be like your team?" That's the sort of question everyone should be asking of these so-called "elite" or "powerhouse" teams. - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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
  #4   Spotlight this post!  
Unread 30-01-2009, 13:51
s0crates s0crates is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2009
Location: Australia
Posts: 52
s0crates is on a distinguished road
Re: Sending user data, parsing user data.

The crio sends data as a sequence of bytes - you have to manually unpack the data. You need to convert the u8 bytes into a string, and from there into whatever the original data type was.

on the crio:
Code:
dashboardDataFormat.PackAndSend();
As far as I can tell (my team's using labview only) that is correct - particularly if thats an example.

On the ds side, you have to unpack it - before that, its just a stream of bytes.
Using the FRC Dashboard is a good tutorial on how to handle data sent back.


-jonathan
try to specify what you're using next time plz...
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
Sending data from RC to OI Nathan Programming 7 03-02-2008 22:32
Sending data back to the OI DanDon Programming 13 26-01-2006 15:17
Sending Data Raven_Writer Programming 8 11-09-2003 16:28
Parsing usfirst Match Data Jack Scouting 0 08-03-2003 02:00


All times are GMT -5. The time now is 04:16.

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