GladeVCP

More
07 Sep 2011 11:23 #13019 by piasdom
Replied by piasdom on topic Re:GladeVCP
didn't see it as you psha, i just want to have a led light up when i
turn power on or an axis is homed....etc

Thanks
kenneth

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

More
07 Sep 2011 11:50 #13021 by andypugh
Replied by andypugh on topic Re:GladeVCP
piasdom wrote:

i know, that's what i thought. but from what i understand, they're saying
i can't link to action.


I think you are confusing "actions" with "pin values"

"Actions" are bits of code that get run when you operate a control. GladeVCP has that, PyVCP doesn't.

However, an LED is just an indicator, you can't interact with it with the mouse, so there is nothing to tell it to run an action script.

However,just like a PvVCP LED, a GladeVCP LED can be linked in HAL to a HAL pin, and it will change colour when the value of the HAL pin changes. (Which I am fairly sure is what you want)

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

More
07 Sep 2011 11:55 #13022 by piasdom
Replied by piasdom on topic Re:GladeVCP
exactly what i want. just can't find the place to link the led to 'anything'
i have the leds, they show in axis. looked all over the setting to find
where to link.read the Internet to see if i could figure it out. :(
but i think i need a script to get them linked ?

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

More
07 Sep 2011 12:18 #13024 by psha
Replied by psha on topic Re:GladeVCP
Like in pyvcp you need .hal script to connect your pins.
for example

net vcp-on halui.machine.is-on => vcp.hal_led1

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

More
07 Sep 2011 12:28 #13025 by piasdom
Replied by piasdom on topic Re:GladeVCP
THANKS ..... never thought of that :)


kenneth

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

More
07 Sep 2011 12:33 #13026 by piasdom
Replied by piasdom on topic Re:GladeVCP

net vcp-on halui.machine.is-on => vcp.hal_led1


you have vcp.hal_led1
i used the ui extension .... glade.ui
do i have to save my glade file as .vcp?

Thanks
kenneth

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

More
07 Sep 2011 12:53 #13029 by psha
Replied by psha on topic Re:GladeVCP
If you are using gladevcp as right side panel then it's name is fixed 'gladevcp'
See docs
linuxcnc.org/docs/2.5/html/gui/gladevcp....into_axis_like_pyvcp

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

More
07 Sep 2011 15:24 #13031 by piasdom
Replied by piasdom on topic Re:GladeVCP
well, i mean that i have on_est_op_toggled as a pin in glade
and used vcp.on_est_op_toggled in postgui.hal and
it says doesn't exist.

Thanks
kenneth

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

More
07 Sep 2011 16:19 #13032 by psha
Replied by psha on topic Re:GladeVCP
Pin name is gladevcp.on_est_op_toggled - gladevcp is component name for vcp panel on the right

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

More
07 Sep 2011 22:40 #13038 by piasdom
Replied by piasdom on topic Re:GladeVCP
i tried gladevcp.on_est_op_toggled, still not reconized. i'm getting the
signal name from the property signal tab. i click on the name and a drop
down menu appears. i select the first(on_est_op_toggled). is there another
place to get instruction?


i use these;
wiki.linuxcnc.org/emcinfo.pl?GladeVcp
emc.mah.priv.at/docs/html/gui/gladevcp.html

Thanks
kenneth

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

Moderators: mhaberlerHansU
Time to create page: 0.241 seconds
Powered by Kunena Forum