View Single Post
  #2   Spotlight this post!  
Unread 03-02-2010, 21:26
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Reticle for camera

The functions for drawing into the image are in the IMAQ palette. The code on the cRIO isn't doing the drawing, though, because typically nobody watches the images. Instead, the info from the ellipse detection is shipped back to the dashboard, and the dashboard draws the annotations of the line and ellipses.

If you are using LV, open up your own dashboard template from the Getting Started window, and look at the top loop. It clears the annotations, then draws the lines in a subVI using polygons, and then draws the blue line. There is a whole palette for the shapes including text.

Greg McKaskle
Reply With Quote