08-15-2006 04:03 PM
08-16-2006 11:11 AM
Let me provide a little more background to this issue. In LabVIEW 7.1, one can simulate the above-described behavior using 'none' for point style and 'lock to plot' option. In LabVIEW 8, I adjusted my application to take advantage of the new 'Cursor Move' event. However, the cursor lock style property is gone and replaced with a cursor mode property. I am toying with this 'new' property but do not seem to be able to achieve the effect I need. My application will work as it is supposed to if cursor is set to 'free dragging,' however in this case the cursor overlays the plot (and I want plot to effectively overlay the cursor). If I attempt to lock the 'Start' and 'End' cursors to plot (using 'single-plot' and 'plot' mode options?), the application will not allow cursor movement as needed.
Sincerely,
Don
08-16-2006 11:22 AM
08-16-2006 12:10 PM
Well as I stated in my clarification post, I attempted to lock the cursors to plot using 'single-plot' and 'plot' options but the application does not then let me consistently even move the cursors. Furthermore, when I look at the cursor properties, it has changed from 'plot' to 'window'. If you can, give it a shot, first testing my application as is, and then locking the cursors to the plot followed by running again. Tell me what your experience is.
Now Jason I am going to cut you some slack because I think the event structure was your implementation and it is one of the more significant advancements to LabVIEW!! I was waiting for that for many years.
I am going play with the new draw properties soon.
Sincerely,
Don
08-16-2006 01:21 PM
08-16-2006 03:14 PM
08-16-2006 03:22 PM
08-16-2006 03:57 PM
I think I am doing exactly what you suggest. If you look at my block diagram, I am generating an event based on cursor movement. I am programmatically modifying the cursor position(s) of the cursors NOT being moved by the user. So for example if the middle (Move) cursor is moved, the start and end cursor positions are changed programmatically. If the start or end cursor position is changed, only the Move cursor is programmatically changed. This behavior allows shrinking, expanding, and moving the window. So I do not think I am running into a situation where user interaction and programmatic changes are operating on the same cursor. Again, with cursors in the free drag mode, the code operates perfectly. Maybe I am misunderstanding some additional behavior the cursors have in the 'locked' mode and I have to set the ones I am interested in moving programmatically to free drag, then alter their positions progammatically, and then relock to plot? I am thinking this is what might need to be done in a serial fashion.
Sincerely,
Don
08-17-2006 10:08 AM
08-17-2006 11:40 AM