HAL

More
23 Jan 2017 05:52 #86458 by big
HAL was created by big
Hello
I am trying to store the value of a HAL pin or a HAL parameter in a bash variable so i could use in other programs like a python function but i don't know how to ! can anyone help please ?

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

More
23 Jan 2017 11:22 #86470 by andypugh
Replied by andypugh on topic HAL
bash can get the value with the "halcmd" cmd:
S = $(halcmd getp motion.spindle-speed-out)
(Maybe, bash is not my strong suit, and I am on a windows machine)

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

Time to create page: 0.062 seconds
Powered by Kunena Forum