1261
Show"N"Tell ( Your Machines) / Re: How to- USB powered LCD display of DRO`s
« on: July 13, 2011, 03:31:23 AM »
I think we have an answer then Dave. The macropump works just fine, the sendserial command works just fine. Calling "message" 10 times/sec works fine BUT calling sendserial 10 times / sec is killing your system.
Just for fun try this in the macropump
and then jog or run a part program
If this runs OK then it will update your LCD just ONCE a second instead of 10 times / sec. Not a lot of use to you perhaps but it should at least confirm the problem.
Just for fun try this in the macropump
Code: [Select]
cnt=getVar(1000)
if cnt=10 then
setVar(1000, 0)
SendSerial _
"?x03?y0" & Format (Getdro(0) , "+000.0000;-000.0000") & _
"?x03?y1" & Format (Getdro(1) , "+000.0000;-000.0000") & _
"?x03?y2" & Format (Getdro(2) , "+000.0000;-000.0000") & _
"?x03?y3" & Format (Getdro(3) , "+000.0000;-000.0000")
else
setVar(1000, cnt+1)
end if
and then jog or run a part program
If this runs OK then it will update your LCD just ONCE a second instead of 10 times / sec. Not a lot of use to you perhaps but it should at least confirm the problem.