- Posts: 63
- Thank you received: 0
Why pin gmoccapy.jog.turtle-jog does not exist?
3 years 10 months ago #260274
by Ondrej
Why pin gmoccapy.jog.turtle-jog does not exist? was created by Ondrej
Hello,
Iam following this video , When I write connect via net: button with gmoccappy.jog.tutle-jog in the configurations hal config it works.
But when I type the code into Hal:
net turtle-btn input.btn-b toggle.0.in
net turtle-select toggle.0.out gmoccapy.jog.turtle-jog
and run the configuration I get an error : Pin gmoccappy.jog.turtle-jog does not exist.
Do you know whats happening? Thx
Iam following this video , When I write connect via net: button with gmoccappy.jog.tutle-jog in the configurations hal config it works.
But when I type the code into Hal:
net turtle-btn input.btn-b toggle.0.in
net turtle-select toggle.0.out gmoccapy.jog.turtle-jog
and run the configuration I get an error : Pin gmoccappy.jog.turtle-jog does not exist.
Do you know whats happening? Thx
Please Log in to join the conversation.
3 years 10 months ago #260275
by HansU
If my assumptions ar correct, you have to connect the gmoccapy pin in a HAL file defined as POSTGUI_HALFILE. Because the gmoccapy pins are created when GUI is loaded and are not available before.
Replied by HansU on topic Why pin gmoccapy.jog.turtle-jog does not exist?
I guess you mean writing that command in halcmd oder halshow? Is that correct?When I write connect via net: button with gmoccappy.jog.tutle-jog in the configurations hal config it works.
Here I guess you are meaning the HAL file defined as HALFILE in the INI file?But when I type the code into Hal:
If my assumptions ar correct, you have to connect the gmoccapy pin in a HAL file defined as POSTGUI_HALFILE. Because the gmoccapy pins are created when GUI is loaded and are not available before.
Please Log in to join the conversation.
3 years 10 months ago #260280
by Ondrej
Replied by Ondrej on topic Why pin gmoccapy.jog.turtle-jog does not exist?
Yes thats correct. I copied the whole HALUI-signals and USB device jog button signals code into custom_postgui.hal. Now I dont get this error, but another one :
HAL : ERROR : thread 'servo-thread' not found
custom_postgui.hal:7: addf failed.
I havet found anything on the internet so far but maybe you will be faster. thx
HAL : ERROR : thread 'servo-thread' not found
custom_postgui.hal:7: addf failed.
I havet found anything on the internet so far but maybe you will be faster. thx
Please Log in to join the conversation.
3 years 10 months ago #260284
by Ondrej
Replied by Ondrej on topic Why pin gmoccapy.jog.turtle-jog does not exist?
Ok I fixed this error by moving the line: source postgui_call_list.hal from the HALFILE behind the loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS.
But the old problem is again here, where I run the configuration, I get an error : pin gmoccappy.jog.turtle-jog does not exist.
But the old problem is again here, where I run the configuration, I get an error : pin gmoccappy.jog.turtle-jog does not exist.
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 3
3 years 10 months ago #260285
by tommylight
Replied by tommylight on topic Why pin gmoccapy.jog.turtle-jog does not exist?
Move it to the other file, not inside the file.
Hansu explained that, but maybe translation is messing up.
Hansu explained that, but maybe translation is messing up.
Please Log in to join the conversation.
3 years 10 months ago #260286
by Ondrej
Replied by Ondrej on topic Why pin gmoccapy.jog.turtle-jog does not exist?
I moved it to other file called custom_postgui.hal (not sure if its correct name but I hope I know what you mean tommy - move that code into another file).
As I said now Iam getting still same error.
As I said now Iam getting still same error.
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 3
3 years 10 months ago #260287
by tommylight
Replied by tommylight on topic Why pin gmoccapy.jog.turtle-jog does not exist?
Yes, that is what he means, and i agree as GmoccaPY creates pins after GUI started.
Sorry i can not help more since i do not use GmoccaPY, i use Axis GUI mostly.
Sorry i can not help more since i do not use GmoccaPY, i use Axis GUI mostly.
Please Log in to join the conversation.
3 years 10 months ago #260290
by Ondrej
Replied by Ondrej on topic Why pin gmoccapy.jog.turtle-jog does not exist?
Never mind. Yes the pin is called gmoccapy.jog.turtle-jog (I checked all the names multiple times..)
Its exciting for me really, because now I think I have done same way all the steps from the video till this part and it still doesnt work
Its exciting for me really, because now I think I have done same way all the steps from the video till this part and it still doesnt work
Please Log in to join the conversation.
3 years 10 months ago #260295
by cmorley
Replied by cmorley on topic Why pin gmoccapy.jog.turtle-jog does not exist?
Please post your config files.
Please Log in to join the conversation.
3 years 10 months ago #260305
by HansU
Replied by HansU on topic Why pin gmoccapy.jog.turtle-jog does not exist?
Yes, please post your config files, otherwise it#s only guessing.
It could also be a problem that the dash charcter is the wrong one in the pdf. You could type the dash instead of copy it.
It could also be a problem that the dash charcter is the wrong one in the pdf. You could type the dash instead of copy it.
Please Log in to join the conversation.
Time to create page: 0.068 seconds
