Quote:
Originally Posted by jhersh
I've sent arbitrary data to the dashboard. Only the type matters, not the source. Encoders will return either an INT32 or a double depending on if you call Get() or GetDistance(). You can send either one by using the correct data type when you pack the dashboard data.
|
Thank you, that should help a little bit, but how do you pack the data you receive from a function for the dashboard? Do I have to call another class (like DashboardDataFormat) or is it just another function?
For Example
double dblEncoder1Value;
dblEncoder1Value = encoder1.Get();
then would I do something like:
PackAndSend(dblEncoder1Value);
Forgive me if the questions I have asked sound obvious, I just really can't figure this out.