Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

CWGraph cwCSnapNearestPoint Snaps To Wrong Point On Small Trace

I am using CWGraph with snapmode = cwCSnapNearestPoint . I am programmatically moving a cursor by setting the x and y pos. Unfortunately, when the trace is very small (zoomed way out) and their are 2 points very close together the snapmode is moving the cursor to the wrong point. If I zoom in to the area and perform the operation it works fine. I know that I am placing the cursor on the correct coordinates because I have tried it in "Float" mode and the point is placed perfectly.

I need to use cwCSnapNearestPoint. Programmatically, dragging the cursor will not do (I have tried it).

Is this fixed in the next release?
0 Kudos
Message 1 of 2
(3,443 Views)
I have looked into this, and do not see any postings of a similar type. Since this is a very specific situation not usually seen on Dev Zone, it would be great if you could e-mail us the exacts of what you are doing by going to www.ni.com/ask and clicking on the link to e-mail NI engineers. We will look into the SnapNearestPoint, and see if the software is tripping on something.
0 Kudos
Message 2 of 2
(3,443 Views)