The Cursor Legend pop up menu on graphs has an item: Bring Cursor to Center. Very handy when the data changes and the previous cursor position is now 4000 screens to the right.
I suggest that an Invoke node be made available which provides this action. This will allow use of a push button on the front panel to bring the cursor back with very simple code. Obviously NI has already done all the work because the menu item exists.
This can be done with property nodes but it is rather complex to examine the scales, check the current position of the cursor, calculate the center, and set a new position.
I asked about other ways to do this in this thread.
Lynn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.