Snuggly's Plasma Build

More
16 Nov 2018 10:35 #120825 by andypugh
Replied by andypugh on topic Snuggly's Plasma Build
the final connections to PyVCP need to be made in the Postgui HAL file (A HAL file that runs after the GUI has loaded).
That is because the PyVCP pins don't exist until the GUI has loaded.
The following user(s) said Thank You: snugglylovemuffin

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

More
17 Nov 2018 01:20 #120880 by snugglylovemuffin
Sweet, I'll give it a shot. We're getting into territory that I can't quite make heads or tails of, so here's hoping we can get this machine cutting before thanksgiving.

Good news is everything other than the THC is working properly.

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

More
17 Nov 2018 16:45 #120904 by snugglylovemuffin
I've modified this file, and in searching for the associated custom postgui, I opened up all these files in notepad++ and these HAL files are effectively blank.
Attachments:

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

More
17 Nov 2018 19:42 #120919 by rodw
Replied by rodw on topic Snuggly's Plasma Build
I think this is a case of following more than one prophet. You can safely ignore what Andy hs said.
If you look in your ini file your POST_GUI file is defined as being THC_7i92_7i77_vcp.hal (Remember everything in Linuxcnc is configurable)
# A file to hook pyvcp to hal signals
POSTGUI_HALFILE =	THC_7i92_7i77_vcp.hal

So now lets focus on the error you reported. It said that there was an error on this line in THC_7i92_7i77_vcp.hal
net CHLThreshold pyvcp.Scale-CHLThreshold-f => scale.0.in

I had a look in your THC_7i92_7i77_vcp.xml file and I think all you will have to do is to change this line to refer to a pin that does exist. eg.
net CHLThreshold pyvcp.Scale-CHLThreshold => scale.0.in

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

More
21 Nov 2018 20:16 #121168 by snugglylovemuffin
If you're suggestion was to remove the -f from threshold-f, this just threw the same error as before, sans the -f. I suspect, however, that this wasn't what you had in mind. I understand the concept of "wiring" in the context of linuxcnc, however I'm not rightly familiar with the particulars. I'll snag my entire file and post it up here shortly.

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

More
21 Nov 2018 20:29 #121172 by rodw
Replied by rodw on topic Snuggly's Plasma Build
Comment out the problem line so your system loads and then use Halshow (which is available from the GUI in Axis and Gmocappy) and explore the pins being exported by pyvcp. If you can't see any, revert to Andy's advice as it might be a post_gui thing.

Your error has told you a pin is missing, so you need to look at what pins exist. sometimes its a simple typo which I thought it was as in the XML the pin ending in -f did not exist.
The following user(s) said Thank You: snugglylovemuffin

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

More
21 Nov 2018 20:43 #121175 by snugglylovemuffin
Fantastic, will do!

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

More
21 Nov 2018 23:24 #121188 by snugglylovemuffin
So, postgui then?
Attachments:

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

More
22 Nov 2018 01:08 #121196 by snugglylovemuffin
Looks like I'll need to setup a postgui as you suggested. Would you mind helping me with that?

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

More
24 Nov 2018 21:28 - 24 Nov 2018 22:56 #121308 by snugglylovemuffin
Issue is solved; however I'm back to where I was last time I tried the TOMA setup:

THC.hal:157:Pin 'joint.3.motor-pos-cmd' was already linked to signal 'z-pos-cmd'

Not sure how to negotiate this particular hurdle.
Attachments:
Last edit: 24 Nov 2018 22:56 by snugglylovemuffin.

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

Moderators: snowgoer540
Time to create page: 0.108 seconds
Powered by Kunena Forum