HAL_INPUT - EMC2 initial pin values

More
04 Apr 2011 17:09 #8503 by andypugh
When you say "under terminal" you mean at a halcmd prompt?

This is a bit of a desperate idea, but does it help if you put a "getp" statement for each pin in the hal file just after loading hal_input?

Please Log in or Create an account to join the conversation.

More
04 Apr 2011 19:18 #8521 by Andy123
I was thinking exactly the same - use getp, will try later on if I have time

I also may try to change the data refresh rate in PIC firmware - I have delay loop that I can make much faster

Please Log in or Create an account to join the conversation.

More
04 Apr 2011 21:35 #8533 by andypugh
It is possible that this might help..

hidcomp.sourceforge.net/

Please Log in or Create an account to join the conversation.

More
05 Apr 2011 15:30 #8582 by Andy123
I changed refresh delay in PIC firmware and now I am getting consitent results in ver 2.3.5 on both computers

Unfortunately there are no initial values in 2.4.6 ...

I will try a shorter delay, not sure if this will help

I will take look at hidcomp

Please Log in or Create an account to join the conversation.

More
05 Apr 2011 15:34 - 05 Apr 2011 15:34 #8584 by andypugh
Last edit: 05 Apr 2011 15:34 by andypugh.

Please Log in or Create an account to join the conversation.

More
05 Apr 2011 16:27 #8589 by Andy123
from the linked post:

most USB devices only send updates when inputs change.


That does not apply to my device: it sends data constantly, currently every 2msec (after I made FW change)

and I see all initial valuses using HALRUN

Anyway - at this point I am pretty sure this is a 2.4.x issue, not hal_input

Please Log in or Create an account to join the conversation.

More
05 Apr 2011 23:03 #8621 by Andy123
I guess hidcomp is way to go

works great and now I can add LCD!

thank you!

PS, I hope somebody will fix hid_input too:)

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum