Sauter la navigation

Paramètres du compte.

Topic

adding coordinate values into text

Page d'accueil ' Communauté ' Généralités ' ajouter des valeurs de coordonnées dans le texte

Voir les messages de 3 - 1 à 3 (sur un total de 3)
  • Auteur
    Messages
  • #33781
    Dermot Cradden
    Participant

    Is it possible to create a text object with the value of a cursor embedded? And have that value change when the cursor position changes.

    #33783
    Dermot Cradden
    Participant

    Is it possible to create a text object with the value of a cursor embedded? And have that value change when the cursor position changes.

    #33782
    Bernhard Kantz
    Participant

    That’s possible as long as the cursor is active. If you use a label in a 2D-diagram you can automatically update the content (cursor position). Activate the option [b]Update windows[/b] (Diagram Properties|Cursors). The Update windows specifies that the the window is to be refreshed after every cursor move. Select this option if you display data sets, which refer to the actual cursor positions, in the same window.

    Example: Cursor position of the active cursor in the diagram ‘2DDiagram’
    [code]
    %{‘2DDiagram.2D’.Cursor(fpCursorActive, 1).PositionIndex}
    [/code]
    Example: Y-value of ‘Signal’ at the current cursor position
    [code]
    %{Signal[‘2DDiagram.2D’.Cursor(fpCursorActive, 1).PositionIndex]}
    [/code]

    support@weisang.com

Voir les messages de 3 - 1 à 3 (sur un total de 3)
  • Vous devez être connecté pour répondre à ce sujet.