Setting Dashboard UserBytes

Is it possible to set the UserBytes sent via the OI’s dashboard port using EasyC Pro? It looks like we can set LEDs and the UserDisplay on the OI. I have not seen any API that gives us control over the userbytes.

We’d like to send some additional data through the dashboard port. Using MPLab we could set these userbytes. This year we’ve been working in EasyC Pro. We are trying to integrate some additional data to be displayed in LabView via the dashboard port.

Thanks,

Bob Potterveld

Yes you can write to the dashboard in easyC PRO. The command is

SetUserByte(unsigned char index, unsigned char value);

Example:
unsigned char value;
value = 52;
SetUserByte(6, value);

Thanks for the info. Once we upgraded to EasyC Pro version 3.0.1.1 we were able to link properly using the function SetUserByte(). Apparently the 3.0.0.1 version did not contain this function to link against.

Thanks,

Bob Potterveld