philm Posted June 6, 2007 Report Share Posted June 6, 2007 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. Quote Link to comment
Karissap Posted June 6, 2007 Report Share Posted June 6, 2007 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) Quote Link to comment
PaulG. Posted June 6, 2007 Report Share Posted June 6, 2007 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. Quote Link to comment
philm Posted June 7, 2007 Author Report Share Posted June 7, 2007 QUOTE(PaulG. @ Jun 5 2007, 02:58 PM) 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. 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. http://forums.lavag.org/index.php?act=attach&type=post&id=6030(LabVIEW v 8.20) Many thanks for your help !! philm Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.