Jump to content

Selecting an area in a graphic using mouse events


Recommended Posts

Hi people,

I've made a VI that, in theory, would select an area of an intensity graphic, but it is not working. To catch the area, I created two mouse events, one event with the mouse down on the panel of the intensity graph, and a drop event, when the user finishes the drag and drop.

In the event "mouse down" I catch the coordinates, and put in a cluster of the drag data. In the "drop" event I catch the final coordinates (and convert these coordinates to XY coordinates, same thing to the previous coordinates) and send it to the draw rectangle function.

The VI sounds correct to me, but obviously I'm missing something. Anyone can take a look on my VI and help me?

Thanks!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.