LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mixed Signal Graph, Selected Cursors, and Cursor Position Problems

I'm trying to work around an issue with a single multiplot cursor on a mixed-signal graph (doesn't work right, R&D bug report #100830) by grabbing the selected cursor x-position and updating that position across all four cursors, as seen below:

However, I'm having two problems. 
One, the selected cursor is not always the actual selected cursor.  Quite often, especially when selecting and dragging cursors 3 & 4 (indexed 2 & 3), the selected cursor shows up as 0 or 1.
Two, and the one I'm more concerned about, is the fact that the four cursors X-positions never completely line up.  In every case, whichever cursor is deemed to be "selected", the other three will align to some point (the same for all three) that is offset from the actual value.  Please note that the X-values in my demonstration are identical (1000 points from 0.001 to 1) so I don't see this as being some snap issue where the value is offsetting to the closest available on the other arrays.

I've attached my scratchpad demo.vi as an illustration. 

Any help or insight is appreciated.
Thanks,
Mike Webster

0 Kudos
Message 1 of 3
(2,794 Views)

Hi Mike,

I'm currently looking into this and will notify you of the results.

Regards,

Kevin S.

0 Kudos
Message 2 of 3
(2,769 Views)
I believe I found where the issue resides at least and a workaround.  This is a problem with XY graphs in general when trying to programmatically control the cursor position.  Somehow, the software goes looking for the nearest point instead of the identical point and has some sort of issue with its search algorithm.  Switching from attempting to match position to copying the cursor 'index' completely cleared up the problem I was having.  In the particular application I'm working on, the four graphs have identically spaced data on the X-axis, so this solution should work fine for me.
0 Kudos
Message 3 of 3
(2,749 Views)