Var Beschreibung im Numblock

Var Beschreibung im Numblock

Hallo zusammen,
folgendes: Ich möchte wenn ich auf eine Zenon Zahlenwert klicke der Sollwert über einen Numblock eingegeben werden kann. Des Weiteren soll dann der Variablenname der jeweiligen Variablen in einem Feld im Numblock dargestellt werden. Das Ganze in einem Fenster mit modalem Dialog. In diesem fenster können Werte von ca 20 Variablen eingegeben werden. Mein Ansatz in Zenon war nun .
Funktion 1 : Sollwertabsetzen auf eine Int Var Count --> (Wert 1 Bei var 1, Wert 2 bei var 2 etc…)
Funktion 2: Sollwertabsetzen auf die zuschreibende var (mit Numblock)
Funktion 3: Skript ausführen
Nun einen Button erstellen, die Funktion 3 dort hinterlegen, Den Button transparent machen
Und über den Zahlenwertlegen, so das beim draufklicken eben das skript ausgeführt wird. An dieser Stelle frag ich mich warum beim Zahlenwertobjekt unter Variable / Funktion Funktion steht wenn ich die da nicht hinterlegen kann oder was mache ich da falsch?
Jedenfalls als nächstes auf dem Numblock Fenster ein combielment hinterlegen mit der Var: Count und bei wert 1 den Text von var 1, bei 2 den Text von var 2 etc anzeigen…
Nun die eigentliche Frage kennt jemand einen einfacheren, praktikableren Weg als diesen?
Auch möglich wäre für jede Var einen eigen Numblock aber das wäre genauso wenig praktisch.
Danke schon im voraus
Gruß J.K.

This is a migrated post! Originally posted on 28.11.2013 by user j.k.. Please be aware that information can be outdated.

    Disclaimer

    This document governs the use of our Community Forum. By registering and using the platform, you accept these conditions.

    The COPA-DATA Community Forum serves to encourage the exchange of information and experience about the zenon software between forum users respectively zenon users.

    Please mind that any published information on the Community Forum is the subjective opinion and view based on the experience and the level of knowledge of the author. COPA-DATA does not overtake any responsibility for the content and the accuracy of the shared information.

    Users of the Community Forum are encouraged to share only well-founded experiences and to point out any risks associated with the implementation of proposed solutions to problems. COPA-DATA at its absolute discretion, reserves the right to moderate the forum. In this connection COPA-DATA may remove any information containing false facts, potentially dangerous solutions, bad language or content that may insult, degrade or discriminate others. COPA-DATA may block a non-complying user from forum access if the user violated this provision.

    COPA-DATA reserves the right to change this document from time to time at own discretion.


    Ing. Punzenberger COPA-DATA GmbH
    Karolingerstraße 7b · 5020 Salzburg · Austria
    www.copadata.com