Go to Post It’s impossible to know who’s life you will change forever. Don’t miss an opportunity. I’m an optimist. Have a great season. This is the year. - Rich Kressly [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-01-2009, 20:34
demosthenes2k8's Avatar
demosthenes2k8 demosthenes2k8 is offline
Graduated but not gone
AKA: Matt Soucy
FRC #0166 (Chop Shop 166)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Merrimack, NH
Posts: 589
demosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to behold
Send a message via AIM to demosthenes2k8 Send a message via Yahoo to demosthenes2k8
Sending user data, parsing user data.

Hey, we're having some problems getting the cRIO to send some leegible data back to the dashboard.
We're using the default dashboard and the attached files. Output looks like this on the default dashboard:
Code:
7204 AB04 0000 0000 0000 C002 00FF FFFF 0000 0008 0132 1508 0000 0008 FFFF FF00 0000 0000 *whole bunch of 0000s*
Can anyone see that we're doing wrong on this end?
Should I post the .vl files in another zip?
Attached Files
File Type: zip DashboardDataExample.zip (2.4 KB, 26 views)
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2009, 23:26
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.

How about asking this in the c forum and not labview...

-jonathan
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2009, 13:14
demosthenes2k8's Avatar
demosthenes2k8 demosthenes2k8 is offline
Graduated but not gone
AKA: Matt Soucy
FRC #0166 (Chop Shop 166)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Merrimack, NH
Posts: 589
demosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to behold
Send a message via AIM to demosthenes2k8 Send a message via Yahoo to demosthenes2k8
Re: Sending user data, parsing user data.

Well it's labview that's parsing the data...
Reply With Quote
  #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
Reply


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 08: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