05-30-2009 08:07 PM
Hi,
I am having a problem with cursor in an intensity plot. I am using two cursor in the intensity plot and using position of those cursor in my program. The input file is a 2-D array and size of file (array) differ from one experiment to other. Sometimes when i load my file the cursor moves to some value from previous file and thus is not visible in the plot (because previous file may have bigger size). Is there a way to bound cursor to say at certain position (like in center of plot or half value of size of X- and Y-axis). So in summary i want that when i load my 2D file the cursor in intensity plot should be at certain position based on size of X- and Y-axis but it should be freely drag-able so that i can move it around and use the position of cursor using property node to calculate other values.
BTW i am using Labview 8.2
Thanks
Yogesh
Solved! Go to Solution.
05-30-2009 08:25 PM
05-31-2009 01:04 PM
Which property node dod i have to select to bound cursors to specific position in a intensity plot.
Thanks
Yogesh
05-31-2009 01:45 PM
Just write the cursor position to move the cursor to the desired coordinates. For example if your new 2D array is 50x50, move it to 25,25.
Later you can intereactively move it elsewhere as before.
You should also disable cursor autoscrolling (right-click..advanced...cursors scroll graphs). This way you will not be able to move the curor outside the current plot area boundaries.
05-31-2009 02:21 PM
Hi There,
I used cursor position property node and now my cursor is bound to plot area but i actually have two cursor. I am wondering how can i bind the other one.
Thanks
Yogesh
05-31-2009 02:38 PM - edited 05-31-2009 02:38 PM
Property nodes execute top-to-bottom. You first set the active cursor, the apply the property, e.g. as follows: