Jump to content

Graph cursors


Recommended Posts

Hello,

I would like to "bring to center" a cursor on a graph through a property node ... Is it possible and if the answer is 'yes', which property node can i use ?

More generally, has somebody some examples in order to learn how to control graph cursors using property nodes ?

Many thanks for yours answers,

philm.

Link to comment

Heres a VI that brings the cursor to the center when it is moved. I used the x scale and y scale minimum and maximum properties of the graph and an event stucture to get the x and y position of the cursor. Instead of using an event structure you could uses a property node to get the active cursor x and y position.

http://forums.lavag.org/index.php?act=attach&type=post&id=6030(LabVIEW v 8.20)

Link to comment

Yes. Select which cursor you want to move around with the actcrsr (active cursor) property first. Then you can control the position of that cursor under the same property node by writing to cursor > cursor position > cursor position x (and y).

I wish I had my code archives from my last job here at the office. I had tons of stuff on moving cursors and plots around. You may have to wait until tomorrow for an example. :D

Link to comment

QUOTE(PaulG. @ Jun 5 2007, 02:58 PM)

Thank you very much !! I 'm waiting for your code ...

philm

QUOTE(Karissap @ Jun 5 2007, 09:53 AM)

Heres a VI that brings the cursor to the center when it is moved. I used the x scale and y scale minimum and maximum properties of the graph and an event stucture to get the x and y position of the cursor. Instead of using an event structure you could uses a property node to get the active cursor x and y position.

(LabVIEW v 8.20)

Many thanks for your help !!

philm

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.