06-25-2012 04:52 PM
Hey all,
I have an application that outputs an intensity graph. I have two cursors on the graph that I use to make a box around parts of it to "zoom in". Right now, I have to manually type in the X and Y positions of both cursors into numeric control boxes in order to utilize them on the back panel. Is there any way to utilize the numbers without going through typing them into numeric controls each time?
Thanks,
LANL13
Solved! Go to Solution.
06-25-2012 05:23 PM
Update: I realized that I can use property nodes to get the X and Y positions of a cursor. However, how do I pick if the node corresponds to Cursor 0 or Cursor 1? Right now they just automatically go to Cursor 1.
06-25-2012 05:47 PM
You almost have it, just use the ActCrsr property to set the Active Cursor before reading the values. Property nodes operate sequentially from top to bottom so Write the value to ActCrsr on the top, then pull down and add the Cursor Postion properties.
Standard workflow you will get used to when using properties with graphs. Set active cursor/plot then read/write properties of interest, often this is done in a For Loop.
06-25-2012 05:54 PM - edited 06-25-2012 05:55 PM
I don't quite get how to utilize ActCrsr. Could you expand a little?
06-25-2012 06:00 PM
Nevermind. I got it. Thanks!