adding coordinate values into text

SupportCommunity General adding coordinate values into text

Ansicht von 3 Beiträgen - 1 bis 3 (von insgesamt 3)
  • Autor
    Beiträge
  • #12572
    Dermot CraddenDermot Cradden
    Mitglied

    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.

    #8235
    Dermot CraddenDermot Cradden
    Mitglied

    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.

    #8923
    Bernhard KantzBernhard Kantz
    Moderator

    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 Update windows (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’

    
    %{'2DDiagram.2D'.Cursor(fpCursorActive, 1).PositionIndex}
    

    Example: Y-value of ‘Signal’ at the current cursor position

    
    %{Signal['2DDiagram.2D'.Cursor(fpCursorActive, 1).PositionIndex]}
    

    support@weisang.com

Ansicht von 3 Beiträgen - 1 bis 3 (von insgesamt 3)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.