Timer

More
23 Sep 2011 17:58 #13401 by piasdom
Replied by piasdom on topic Re:Timer
ok.......now i'm "REALLY" confused :)
i had gladevcp.Time_hour, but the "show pin" shows it as Gladevcp.Time_hour(cap G)
changed it to cap and all is fine. how do i know when to use capitals or not ?
(confused in La. :)



Thanks
kenneth

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

More
23 Sep 2011 18:17 #13404 by piasdom
Replied by piasdom on topic Re:Timer
is it Gladevcp for tab and gladevcp for pyvcp type panel ?
(having a very dumb day)

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

More
23 Sep 2011 19:40 #13407 by piasdom
Replied by piasdom on topic Re:Timer
i have jog buttons for XYZ, and have a Reset_M124(glade) button for a script(below)
M123 resets M124 to zero. i find with no program running and i click reset, the
jog axis don't work, i have to use glade home-all or axis default buttons(-+)
i don't know if this is suppose to work like this, so i'm just letting ya'll know



M124
#!/bin/bash
COUNT=$(halcmd getp gladevcp.M124_count)
let "COUNT += 1"
halcmd setp gladevcp.M124_count $COUNT
exit 0

M123
#!/bin/bash
halcmd setp gladevcp.M124_count 0
exit 0

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

More
26 Sep 2011 11:18 #13453 by piasdom
Replied by piasdom on topic Re:Timer
also, do they have a Default for the hal_hscale ?
in the object parameters there is a "Value" option,
i set this to 18 and the scale(glade) shows 18. when i start
emc, it always starts at 0.0. is there a default somewhere ?


Thanks
kenneth

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

Time to create page: 0.057 seconds
Powered by Kunena Forum