- Posts: 85
- Thank you received: 0
Open or close vismach with pyvcp button
3 years 6 months ago #269064
by fery15sty
Open or close vismach with pyvcp button was created by fery15sty
How do I open or close the Vismach screen with the PYVCP button?
Attachment not found
Please Log in to join the conversation.
3 years 6 months ago #269073
by andypugh
Replied by andypugh on topic Open or close vismach with pyvcp button
I think that you would need to keep a copy of the process ID then send it a terminate event. (SIGTERM ?)
Not sure of the details, just trying to supply some google search keys
Not sure of the details, just trying to supply some google search keys
Please Log in to join the conversation.
3 years 6 months ago #269092
by fery15sty
Replied by fery15sty on topic Open or close vismach with pyvcp button
I think maybe the way is not difficult. i've seen posts that use buttons to activate vismach. like this post:
forum.linuxcnc.org/38-general-linuxcnc-q...r-usability?start=10
but i don't know how to do it
Attachment not found
forum.linuxcnc.org/38-general-linuxcnc-q...r-usability?start=10
but i don't know how to do it
Please Log in to join the conversation.
3 years 6 months ago #269095
by Aciera
Replied by Aciera on topic Open or close vismach with pyvcp button
Actually that is not a button but just a label. The button is below that and is to clear the path plot in the vismach window. Vismach is loaded automatically at startup.
[edit]
I don't know if it's possible to start/close vismach from a button but you would somehow have to link/unlink the hal connections of the vismach model.
[edit2]
In qt-axis you can embed the vismach model as a tab in the axis window so that may be a more straight forward path.
[edit3]
I just noticed your other thread and that you are already trying to embed vismach as a tab. cmorley should be able to help you there.
[edit]
I don't know if it's possible to start/close vismach from a button but you would somehow have to link/unlink the hal connections of the vismach model.
[edit2]
In qt-axis you can embed the vismach model as a tab in the axis window so that may be a more straight forward path.
[edit3]
I just noticed your other thread and that you are already trying to embed vismach as a tab. cmorley should be able to help you there.
Please Log in to join the conversation.
3 years 6 months ago #269108
by fery15sty
Replied by fery15sty on topic Open or close vismach with pyvcp button
how to clear path in vismach?
Please Log in to join the conversation.
3 years 6 months ago #269110
by Aciera
Replied by Aciera on topic Open or close vismach with pyvcp button
Yes, to clear the pinkish/orangy tool backplot line that shows where the tool tip has moved.
Please Log in to join the conversation.
3 years 6 months ago #269135
by fery15sty
Replied by fery15sty on topic Open or close vismach with pyvcp button
yes, how is that..?
Please Log in to join the conversation.
3 years 6 months ago #269140
by Aciera
Replied by Aciera on topic Open or close vismach with pyvcp button
Maybe try it out.
Start one of the sim configs in the axis/vismach section and move the machine about and you should see the backplot in the vismach simulation then click the 'clear' button. I'm not sure if all the configs have the 'clear' button available. The ones in the '5axis' section should.
Start one of the sim configs in the axis/vismach section and move the machine about and you should see the backplot in the vismach simulation then click the 'clear' button. I'm not sure if all the configs have the 'clear' button available. The ones in the '5axis' section should.
Please Log in to join the conversation.
3 years 6 months ago #269175
by cmorley
Replied by cmorley on topic Open or close vismach with pyvcp button
pyvcp can only control HAL pins so can't load/open programs.
Gladevcp or qtvcp could though.using python extentions.
in 2.9 you can embed qtvismach into AXIS's tabs.
Gladevcp or qtvcp could though.using python extentions.
in 2.9 you can embed qtvismach into AXIS's tabs.
Please Log in to join the conversation.
3 years 6 months ago #269183
by fery15sty
Replied by fery15sty on topic Open or close vismach with pyvcp button
can you share, how to change part in qt-vismach
forum.linuxcnc.org/38-general-linuxcnc-q...t-vismach-tab#269055
Attachment not found
forum.linuxcnc.org/38-general-linuxcnc-q...t-vismach-tab#269055
Please Log in to join the conversation.
Time to create page: 0.070 seconds
