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:


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?

DashboardDataExample.zip (2.35 KB)


DashboardDataExample.zip (2.35 KB)

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

-jonathan

Well it’s labview that’s parsing the 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:

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… :wink: