- Posts: 17524
- Thank you received: 0
7i73 LCD shows rubisch
7 years 5 months ago #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)
( it defaults to 1 ms AFAIK)
Please Log in to join the conversation.
7 years 5 months ago #135029
by gaston48
Replied by gaston48 on topic 7i73 LCD shows rubisch
oups yes,
thank you I learned something else
thank you I learned something else
Please Log in to join the conversation.
7 years 5 months ago #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.
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 to join the conversation.
7 years 5 months ago #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
raw.githubusercontent.com/LinuxCNC/linux...hal/components/lcd.c
and then compile and intall it with
Code:
sudo halcompile --install lcd.c
Please Log in to join the conversation.
7 years 5 months ago #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 .
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 to join the conversation.
7 years 5 months ago #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
Take a look at motion.servo.last-period for the CPU clocks per servo thread invocation
Please Log in to join the conversation.
7 years 5 months ago #135139
by gaston48
Replied by gaston48 on topic 7i73 LCD shows rubisch
Perfect, both types of OLED board work well !
Attachment not found
Attachment not found
Please Log in to join the conversation.
5 years 8 months ago #199377
by gaston48
Replied by gaston48 on topic 7i73 LCD shows rubisch
Hello,
the scatering cursor problem appears again with 2.8.1
if you haven't seen my other message, 2.8.1 limits the size of the xml file linked to PyVCP
and thus refuses to start
the scatering cursor problem appears again with 2.8.1
if you haven't seen my other message, 2.8.1 limits the size of the xml file linked to PyVCP
and thus refuses to start
Please Log in to join the conversation.
5 years 8 months ago #200149
by andypugh
That seems rather odd, as I don't think that the lcd component changed.
github.com/LinuxCNC/linuxcnc/commits/mas...hal/components/lcd.c
Replied by andypugh on topic 7i73 LCD shows rubisch
gaston48 wrote: Hello,
the scatering cursor problem appears again with 2.8.1
That seems rather odd, as I don't think that the lcd component changed.
github.com/LinuxCNC/linuxcnc/commits/mas...hal/components/lcd.c
Please Log in to join the conversation.
Time to create page: 0.135 seconds
