Topic
adding coordinate values into text
- This topic has 2 replies and 2 voices and was last updated 15 years, 2 months ago ago by Dermot Cradden.
-
AuthorPosts
-
10.03.2010 at 07:34 #33781Dermot CraddenParticipant
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 at 07:34 #33783Dermot CraddenParticipantIs 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 at 18:05 #33782Bernhard KantzParticipantThat’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] -
AuthorPosts
- You must be logged in to reply to this topic.