Programmierung Hal meter

More
21 Dec 2020 20:05 #192691 by Michels_rakete
Hallo zusammen,

ich verzweifle bald.

Möchte eine Drehzahlanzeige in meine Oberfläche gmoccapy integrieren und bekomme die Verlinkung nicht hin.

Mit setp kann ich den PIN vcp_box.hal_meter1 beschreiben und wird auch angezeigt.
Aber bekomme keine Verlinkung hin da kein Pin mehr frei ist.
Ebenso LED vcp_box.hal_led1 bis 3

Brauche Hilfe.

Im Anhang findet Ihr die Hal, INI und custom_postgui.hal und Halreport.

Über Hilfe wäre ich sehr dankbar mit Beschreibung der Vorgehensweise.

Danke Euch.

Michael
Attachments:

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

More
21 Dec 2020 20:57 #192703 by cmorley
Replied by cmorley on topic Programmierung Hal meter
net spindle-vel-cmd-rpm-abs     vcp_box.hal_meter1

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

More
21 Dec 2020 21:23 #192714 by chris@cnc
Replied by chris@cnc on topic Programmierung Hal meter
oder so
#Balkenanzeige aktivieren
net spindle-at-speed     	        vcp_box.hal_led1         gmoccapy.spindle_at_speed_led 
net spindle-vel-cmd-rpm-abs	vcp_box.hal_meter1     gmoccapy.spindle_feedback_bar 

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

More
21 Dec 2020 21:26 #192715 by Michels_rakete
Hallo,

funktioniert nicht.

pin nicht gefunden.

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

More
21 Dec 2020 21:29 #192716 by Michels_rakete
Ergebnis Fehlermeldung

vcp_box.hal_meter1 does not exist

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

More
21 Dec 2020 21:34 #192719 by cmorley
Replied by cmorley on topic Programmierung Hal meter
Hast du es in die Datei postgui.hal aufgenommen?

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

More
21 Dec 2020 21:35 #192720 by Michels_rakete
Ja in die custom_postgui.hal

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

More
21 Dec 2020 21:38 #192721 by cmorley
Replied by cmorley on topic Programmierung Hal meter
warten..

Ist das die Lastlinie?
EMBED_TAB_NAME = Zweite Benutzerregisterkarte
EMBED_TAB_LOCATION = ntb_preview
EMBED_TAB_COMMAND = gladevcp -x {XID} vcp_box.glade

Wenn ja, müssen Sie die Option -H verwenden, um eine andere HAL-Datei zu laden. mit dem Befehl darin.

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

More
21 Dec 2020 21:40 #192723 by Michels_rakete
Ja das ist sie.

muss es dann so aussehen?
EMBED_TAB_NAME = Zweite Benutzerregisterkarte
EMBED_TAB_LOCATION = ntb_preview
EMBED_TAB_COMMAND = gladevcp -h {XID} vcp_box.glade

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

More
21 Dec 2020 21:46 #192726 by cmorley
Replied by cmorley on topic Programmierung Hal meter
EMBED_TAB_COMMAND = gladevcp -H hbox.hal -x {XID} vcp_box.glade


Anschließend müssen Sie Ihrer Konfigurationsdatei eine HAL-Datei mit dem Namen hbox.hal hinzufügen.
Es muss den Befehl haben:

net spindle-vel-cmd-rpm-abs vcp_box.hal_meter1

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

Time to create page: 0.087 seconds
Powered by Kunena Forum