Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Sending user data, parsing user data. (http://www.chiefdelphi.com/forums/showthread.php?t=73204)

demosthenes2k8 29-01-2009 20:34

Sending user data, parsing user data.
 
1 Attachment(s)
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?

s0crates 29-01-2009 23:26

Re: Sending user data, parsing user data.
 
How about asking this in the c forum and not labview...

-jonathan

demosthenes2k8 30-01-2009 13:14

Re: Sending user data, parsing user data.
 
Well it's labview that's parsing the data...

s0crates 30-01-2009 13:51

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... ;)


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

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