7i73 LCD shows rubisch

More
26 May 2019 19:10 #135028 by PCW
Replied by PCW on topic 7i73 LCD shows rubisch
In Andys example, the component "threads" is setting up the real time thread
( it defaults to 1 ms AFAIK)

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

More
26 May 2019 19:19 #135029 by gaston48
Replied by gaston48 on topic 7i73 LCD shows rubisch
oups yes,
thank you I learned something else

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

More
27 May 2019 18:20 #135076 by PCW
Replied by PCW on topic 7i73 LCD shows rubisch
OK tried Andys test.hal script on LinuxCNC 2.8 and 2.7: (with adjustments for host FPGA type, I used a Ethernet card)

2.8 Works (blinking underline cursor disabled)

2.7 Does not work (cursor never disabled= hash on screen)

I think that there were some cleanups in the LCD component that were not merged to 2.7.
This is born out by using the 2.8 LCD component source on LinuxCNC 2.7 (this fixes the cursor issue)

I suspect this may be a long standing bug that was not noticed due the long response time of LCDs
which would make the scattered cursor hash nearly invisible.

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

More
27 May 2019 20:13 #135085 by andypugh
Replied by andypugh on topic 7i73 LCD shows rubisch
In that case, the answer is to download this file:
raw.githubusercontent.com/LinuxCNC/linux...hal/components/lcd.c
and then compile and intall it with
sudo halcompile --install lcd.c

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

More
27 May 2019 20:47 #135091 by gaston48
Replied by gaston48 on topic 7i73 LCD shows rubisch
Thank you very much to both of you. Congratulations, it's always good news to locate a bug and fix it.
I will compile the new component and try as much as possible.

I have one last question, what is the point of setting the timing of the servo-thread (1 ms) in the ini file ?
No matter how valuable it is, when I start a session, and I watch the timing of the servothread with halmeter
(fperiod) it always has the same value 0.15ms with my configuration.
just like the time of each loaded rtcomponent .

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

More
27 May 2019 21:02 #135093 by PCW
Replied by PCW on topic 7i73 LCD shows rubisch
The component times are how long they take to execute (in CPU clocks)

Take a look at motion.servo.last-period for the CPU clocks per servo thread invocation

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

More
28 May 2019 08:48 #135139 by gaston48
Replied by gaston48 on topic 7i73 LCD shows rubisch
Perfect, both types of OLED board work well !

Attachments:

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

Moderators: PCWjmelson
Time to create page: 0.157 seconds
Powered by Kunena Forum