Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Setting Dashboard UserBytes (http://www.chiefdelphi.com/forums/showthread.php?t=53431)

bobpskier 04-02-2007 13:27

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

Kingofl337 04-02-2007 22:57

Re: Setting Dashboard UserBytes
 
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 05-02-2007 21:36

Re: Setting Dashboard UserBytes
 
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


All times are GMT -5. The time now is 03:58.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi