Subroutine GUI
can't see where to change the buffer.
attached.
Please Log in or Create an account to join the conversation.
JT has already spotted the home-all problem. It seems that you don't get that pin without a home sequence.
Anyway, keep that listing, (well, the bottom third, you seem to have three copies there) as a guide to what pins you have available to put together in interesting ways.
Please Log in or Create an account to join the conversation.
working on that now and yes the rapid-to-home works
and i now see the pyxcp and halui reference
Please Log in or Create an account to join the conversation.
xml
<pyvcp>
<button>
<halpin>"halui.joint.0.home"</halpin>
<text>"Home X"</text>
<font>('Helvetica',10)</font>
</button>
</pyvcp>
custom_postgui.hal
net home-x halui.joint.0.home pyvcp.home-x
and ini
[HALUI]
MDI_COMMAND = G0 X0 Y0 Z0
HOME_X = 0
and i get
pin pyvcp.home-x does not exist
but i think it's my ini. didn't know what to equal HOME_X to.
don't think i should use g0 x0. i'm thinking it will move the table, but i tried it and got error.
from what ya'll showed me, i got it ALL right, but i'm not sure about the ini = to thingy
Please Log in or Create an account to join the conversation.
The second problem is you are linking the pin pyvcp.home-x but you have not created it in your xml file.
The third problem is you can't just make stuff up to put in the ini file. So remove the home x stuff from your ini file.
John
Please Log in or Create an account to join the conversation.
i changed parts of the MyVCP.xml, renaming parts of MDI Command. pin/frame/text, at each change i restarted emc.
no matter what i changed, it started with the MDI command and it home all.
so i deleted everything in the file and everything works. i made sure
i had the correct file. emc2/configs.
is this a necessary file or is it like <= and => ?
Please Log in or Create an account to join the conversation.
Please understand the halui home joint pins has nothing to do with halui MDI... this seems to be a confusing point for you.
Start by creating the buttons one at a time in your .xml file and start Axis after creating each button to make sure you have not made a mistake.
Make sure all the buttons are surrounded by one pair of <pyvcp></pyvcp> tags.
Give each button a pin name that is unique like I suggested in a previous post.
Should we move this discussion to the pyVCP category? It has evolved into a pyvcp discussion...
John
Please Log in or Create an account to join the conversation.
The first problem is you can't name your pyvcp button hal pin the same name as an existing pin.
i don't see another home x
if you're talking about net home-x halui.joint.0.home => pyvcp.home-x, should it be net home-x halui.joint.0.home => pyvcp.just-home-x
and change the name in the xml ?
The second problem is you are linking the pin pyvcp.home-x but you have not created it in your xml file.
i thought i did. all i can see is i took <labelframe> out. do you mean i need it for each button ?
The third problem is you can't just make stuff up to put in the ini file. So remove the home x stuff from your ini file.
i did. but as i said, didn't know what to put so i put something. tried a number of other combinations there.
John
Please Log in or Create an account to join the conversation.
Is what a necessary file?
Please understand the halui home joint pins has nothing to do with halui MDI... this seems to be a confusing point for you.
Start by creating the buttons one at a time in your .xml file and start Axis after creating each button to make sure you have not made a mistake.
Make sure all the buttons are surrounded by one pair of <pyvcp></pyvcp> tags.
Give each button a pin name that is unique like I suggested in a previous post.
Should we move this discussion to the pyVCP category? It has evolved into a pyvcp discussion...
John
yes i guess i am confused, but that explained it better.
i've been working on just X for now and was going to work on each one as i got one working.
if you think we should move, as i think it's all the same(to me) but you know the rules better then i.
i have no with that.
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.