- Posts: 6803
- Thank you received: 0
Open or close vismach with pyvcp button
3 years 6 months ago #269253
by cmorley
Replied by cmorley on topic Open or close vismach with pyvcp button
First, did the sample qt_vismach config run properly ? the image you posted seems to indicate it did.
If so could you post your custom vismach file?
If so could you post your custom vismach file?
Please Log in to join the conversation.
3 years 6 months ago #269258
by fery15sty
Replied by fery15sty on topic Open or close vismach with pyvcp button
Yes. my configuration runs correctly, but it still uses the original simulation. in the .ini file I wrote:
###########
EMBED_TAB_NAME = qtscreen
EMBED_TAB_COMMAND= halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed -x {XID} vismach_mill_xyz
###########
and in my .hal file I wrote:
############
loadusr -W ./3axisatcgui
net j0 joint.0.pos-fb 3axisatcgui.joint0
net j1 joint.1.pos-fb 3axisatcgui.joint1
net j2 joint.2.pos-fb 3axisatcgui.joint2
############
3axisatcgui is my vismach simulation file, using the old vismach method.
###########
EMBED_TAB_NAME = qtscreen
EMBED_TAB_COMMAND= halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed -x {XID} vismach_mill_xyz
###########
and in my .hal file I wrote:
############
loadusr -W ./3axisatcgui
net j0 joint.0.pos-fb 3axisatcgui.joint0
net j1 joint.1.pos-fb 3axisatcgui.joint1
net j2 joint.2.pos-fb 3axisatcgui.joint2
############
3axisatcgui is my vismach simulation file, using the old vismach method.
Please Log in to join the conversation.
3 years 6 months ago #269261
by cmorley
Replied by cmorley on topic Open or close vismach with pyvcp button
You didn't include the obj files so I couldn't completely test but here is most of the work.
You need to add the decompressed folder to share/qtvcp/panels (where that is depends if you are using an installed version or RIP version)
Then add the missing object files into the folder.
Then to test, open a terminal and type: qtvcp -d 3axisatcgui.
If that works then we can change the command in the INI to load it.
You need to add the decompressed folder to share/qtvcp/panels (where that is depends if you are using an installed version or RIP version)
Then add the missing object files into the folder.
Then to test, open a terminal and type: qtvcp -d 3axisatcgui.
If that works then we can change the command in the INI to load it.
Please Log in to join the conversation.
3 years 6 months ago #269262
by cmorley
Replied by cmorley on topic Open or close vismach with pyvcp button
the command for the INI will be:
EMBED_TAB_COMMAND= halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed -x {XID} 3axisatcgui
Also you won't need/can't connect the HAL pins
so remove this:
############
loadusr -W ./3axisatcgui
net j0 joint.0.pos-fb 3axisatcgui.joint0
net j1 joint.1.pos-fb 3axisatcgui.joint1
net j2 joint.2.pos-fb 3axisatcgui.joint2
############
EMBED_TAB_COMMAND= halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed -x {XID} 3axisatcgui
Also you won't need/can't connect the HAL pins
so remove this:
############
loadusr -W ./3axisatcgui
net j0 joint.0.pos-fb 3axisatcgui.joint0
net j1 joint.1.pos-fb 3axisatcgui.joint1
net j2 joint.2.pos-fb 3axisatcgui.joint2
############
Please Log in to join the conversation.
3 years 6 months ago #269263
by fery15sty
Replied by fery15sty on topic Open or close vismach with pyvcp button
here is my .obj file..
Please Log in to join the conversation.
3 years 6 months ago #269265
by fery15sty
Replied by fery15sty on topic Open or close vismach with pyvcp button
I have tried, your instructions.. but it shows an error
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
3 years 6 months ago #269266
by cmorley
Replied by cmorley on topic Open or close vismach with pyvcp button
Thanks for files - I had to do some adjustments...
here are the new files to replace all the others.
here are the new files to replace all the others.
Please Log in to join the conversation.
3 years 6 months ago #269268
by cmorley
Replied by cmorley on topic Open or close vismach with pyvcp button
Also would it be ok to add your vismach to linuxcnc? are they copyrighted?
Chris
Chris
Please Log in to join the conversation.
3 years 6 months ago #269271
by fery15sty
Replied by fery15sty on topic Open or close vismach with pyvcp button
thanks for your help, i appreciate it.
Attachment not found
Please Log in to join the conversation.
3 years 6 months ago #269272
by fery15sty
Replied by fery15sty on topic Open or close vismach with pyvcp button
yes.. no problem, you can share it..
Actually I work for the company, but it's not a very private thing..
Actually I work for the company, but it's not a very private thing..
Please Log in to join the conversation.
Time to create page: 0.056 seconds
