HAL_INPUT - EMC2 initial pin values
04 Apr 2011 17:09 #8503
by andypugh
Replied by andypugh on topic Re:HAL_INPUT - EMC2 initial pin values
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?
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.
04 Apr 2011 19:18 #8521
by Andy123
Replied by Andy123 on topic Re:HAL_INPUT - EMC2 initial pin values
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
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.
04 Apr 2011 21:35 #8533
by andypugh
Replied by andypugh on topic Re:HAL_INPUT - EMC2 initial pin values
Please Log in or Create an account to join the conversation.
05 Apr 2011 15:30 #8582
by Andy123
Replied by Andy123 on topic Re:HAL_INPUT - EMC2 initial pin values
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
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.
05 Apr 2011 15:34 - 05 Apr 2011 15:34 #8584
by andypugh
Replied by andypugh on topic Re:HAL_INPUT - EMC2 initial pin values
The suggestion was based on this:
article.gmane.org/gmane.linux.distributions.emc.devel/4249/
article.gmane.org/gmane.linux.distributions.emc.devel/4249/
Last edit: 05 Apr 2011 15:34 by andypugh.
Please Log in or Create an account to join the conversation.
05 Apr 2011 16:27 #8589
by Andy123
Replied by Andy123 on topic Re:HAL_INPUT - EMC2 initial pin values
from the linked post:
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
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.
05 Apr 2011 23:03 #8621
by Andy123
Replied by Andy123 on topic Re:HAL_INPUT - EMC2 initial pin values
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:)
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.076 seconds