Jump to content

Object tracking - virtual draw, paint


Recommended Posts

On 2017. 04. 20. at 2:33 AM, infinitenothing said:
  1. Double click the "Build XY Graph" express VI. 
  2. Uncheck clear data on each call.

Also, you don't have to subtract 1080 or 720 from each x,y pair. You can just click on the top most number on an axis (eg 720) and enter in 0. That will make it so that small y values are plotted at the top.

How to  lifts up the pen and puts it down?

Link to comment
  • 3 weeks later...
On 4/30/2017 at 7:08 AM, Nerich34 said:

Dear Infinitenothing!

I would like to ask for some help. What is under the False value?

Thank you very much.

I attach the vi.

PEN.vi

I just saw this post. That's a VI snippet. You can drag it (might have to save it to disk first?) and drop it onto your block diagram. You'll get all the cases (both true and false). The "pen" false case just has the pink wire wired through (don't make any changes) and the "previous pen" false case looks like the image below

As for getting the "mouse status", maybe try acquire input data.vi

store initial points.PNG

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.