PDA

View Full Version : Setting Dashboard UserBytes


bobpskier
02-04-2007, 12:27 PM
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

Kingofl337
02-04-2007, 09:57 PM
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);

bobpskier
02-05-2007, 08:36 PM
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