You named your component "current-feed", so use that name, not
"current-feed.0"
numbers after component name are usually added when loading only one
component without directives or using count=n directive.
I usually like naming components by their original name / purpose plus
meaning. Like scale-current-feed. This way you always know what type of
component it is and what it is used for.
You can always check what you have in HAL by using diagnostic tools. For
example, if you write in the same HAL file:
loadrt scale names=current-feed
show all current-feed
then you will see the list of all things about given name.
Or you can use separate terminal and type: halcmd show pin curr*
Or as/if you have graphical UI, use halshow to browse, watch all the
tree of loaded components and issue commands in the same window. You can
call halshow either from axis menu Machine / Show Hal configuration or
just start it in a terminal (halshow) or other launcher.
CYCLE_TIME in DISPLAY section sets the pause in seconds between screen
updates and can make huge difference in CPU load and UI responsiveness.
Set it to somewhere in a range 0.04 to 0.5
You can find these things documented in machinekit or linuxcnc docs:
http://www.machinekit.io/docs/
http://www.machinekit.io/docs/config/ini_config/#sub:DISPLAY-section
http://linuxcnc.org/docs/html/
http://linuxcnc.org/docs/html/config/ini-config.html#_display_section
04/23/2017 08:44 PM, Sag ich Dir nich rašė:
just ignore "Is there any Pin i can use to show the actual Velocity of
all axis with Pyvcp?"
Am Sonntag, 23. April 2017 17:52:37 UTC+2 schrieb Sag ich Dir nich:
Hello,
because of performance issues on the BBB with the Axis Preview i
have to use the DRO window, but there is no Velocity value. Is there
any Pin i can use to show the actual Velocity of all axis with
Pyvcp? So far i have only found *motion.current-vel* but its showing
mm/sec i need it in mm/min. I tried using scale component but it
always says the pin "current-feed.0.in <http://current-feed.0.in>"
does not exist. How can i change it to display mm/min instead of
mm/sec?
thats what my spindle_to_pyvcp.hal file says:
net smoothed_rpm spindle-rpm-filter.out => pyvcp.spindle-speed
net spindle-at-speed => pyvcp.spindle-at-speed
net spindle-cmd motion.spindle-speed-out => pyvcp.cmd-spindle-speed
net feed motion.current-vel => current-feed.0.in
<http://current-feed.0.in> => pyvcp.feed
loadrt scale names=current-feed
addf current-feed.0 servo-thread
setp current-feed.0.gain 60
is it because it is not the main hal file but a postgui_halfile?
if i name it scale.0 it says that it is already liked to spindle-cmd
btw i am wondering what the "CYCLE_TIME = 0.010" is for.
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github:
https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.