Topic
adding coordinate values into text
Startseite ' Community ' Allgemein ' adding coordinate values into text
- Dieses Thema hat 2 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 15 Jahren, 2 Monaten von Dermot Cradden aktualisiert.
-
AutorBeiträge
-
10.03.2010 um 07:34 Uhr #33781Dermot CraddenTeilnehmer
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.
10.03.2010 um 07:34 Uhr #33783Dermot CraddenTeilnehmerIs it possible to create a text object with the value of a cursor embedded? And have that value change when the cursor position changes.
10.03.2010 um 18:05 Uhr #33782Bernhard KantzTeilnehmerThat’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] -
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.