Programmierung Hal meter

More
5 years 10 months ago #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

Please Log in to join the conversation.

More
5 years 10 months ago #192703 by cmorley
Replied by cmorley on topic Programmierung Hal meter
Code:
net spindle-vel-cmd-rpm-abs vcp_box.hal_meter1

Please Log in to join the conversation.

More
5 years 10 months ago #192714 by chris@cnc
Replied by chris@cnc on topic Programmierung Hal meter
oder so
Code:
#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 to join the conversation.

More
5 years 10 months ago #192715 by Michels_rakete
Hallo,

funktioniert nicht.

pin nicht gefunden.

Please Log in to join the conversation.

More
5 years 10 months ago #192716 by Michels_rakete
Ergebnis Fehlermeldung

vcp_box.hal_meter1 does not exist

Please Log in to join the conversation.

More
5 years 10 months ago #192719 by cmorley
Replied by cmorley on topic Programmierung Hal meter
Hast du es in die Datei postgui.hal aufgenommen?

Please Log in to join the conversation.

More
5 years 10 months ago #192720 by Michels_rakete
Ja in die custom_postgui.hal

Please Log in to join the conversation.

More
5 years 10 months ago #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 to join the conversation.

More
5 years 10 months ago #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 to join the conversation.

More
5 years 10 months ago #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 to join the conversation.

Time to create page: 2.062 seconds
Powered by Kunena Forum