01-19-2009 06:43 AM
Yes my great man, you certainly did it. Thanks a zillion!
Have a very, very pleasant day!
01-19-2009 06:44 AM
01-19-2009 06:45 AM
01-19-2009 10:39 AM - edited 01-19-2009 10:39 AM
Based on your description of (3) I don't see why you can't simply use a cursor for this. That's what they were designed to do. In fact, you don't need to do any of the code that Cory showed. All you need to do is this:
01-19-2009 01:30 PM
Smercurio, your solution moves the cursor to the location the same way my VI did.
However, you did nothing to check if it was near a maximum.
01-19-2009 03:38 PM
01-19-2009 05:37 PM
smercurio_fc wrote:
The maximum of what? The user didn't specify any "maximum" restriction. What was requested was to select the "vertex" (i.e., data point) closest to the click
Look up the word vertex in the dictionary. The vertex, by definition, means the highest point of something, ie the maximum
01-19-2009 11:20 PM
Cory K wrote:
smercurio_fc wrote:
The maximum of what? The user didn't specify any "maximum" restriction. What was requested was to select the "vertex" (i.e., data point) closest to the click
Look up the word vertex in the dictionary. The vertex, by definition, means the highest point of something, ie the maximum
I have to disagree here. If you look at the definition, you'll also see that "node" is a definition and is the common meaning if you are dealing with any type of geometrical or mathematical context. If the original poster wanted the maximum, the he would have said either "maximum" or "peak".
01-20-2009 03:49 AM
Kudos to you smercurio…! Now that is ,indeed, a more elegant solution. Loads of thanks to you, my guru.
Have a very pleasant day.
01-20-2009 04:03 AM