|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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* Should I post the .vl files in another zip? |
|
#2
|
|||
|
|||
|
Re: Sending user data, parsing user data.
How about asking this in the c forum and not labview...
-jonathan |
|
#3
|
||||
|
||||
|
Re: Sending user data, parsing user data.
Well it's labview that's parsing the data...
|
|
#4
|
|||
|
|||
|
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(); 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... ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |