Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Picture Functions VIs (Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Owning Palette: Graphics & Sound VIs

Use the Picture Functions VIs to create visual representations of data. Many of these picture VIs use clusters to define points and rectangles. The VIs related to drawing text use clusters and enumerations to describe the font choice and the positioning of the text.

Palette ObjectDescription
Color Box ConstantUse the color box constant to supply a constant color value to the block diagram.
Color to RGBResolves any color input, including system colors, into its respective red, green, and blue components.
Create MaskApplies a mask to an image and returns the mask information in the mask element of image data. This VI is useful if you want to make a certain color in an image transparent before writing the image to a picture indicator.
Draw ArcDraws an arc in a picture.
Draw Circle by RadiusDraws a circle based on a specified radius and center point.
Draw Flattened PixmapDraws a 1-, 4-, or 8-bit pixmap or a 24-bit RGB pixmap into a picture.
Draw Grayed Out RectDraws a patterned rectangle in the specified picture to create the effect of graying-out a section of the picture.
Draw LineDraws a line from the current pen position to the specified location in a picture.
Draw Multiple LinesDraws multiple connected lines into a picture.
Draw OvalDraws an oval in the rectangle you specify, optionally filling the interior.
Draw PointSets a pixel in a picture to a specified color.
Draw RectDraws a rectangle, optionally filling the interior.
Draw Round RectDraws a rounded rectangle into a picture.
Draw Text at PointDraws a string into a picture.
Draw Text in RectDraws a string into a picture.
Draw Unflattened PixmapConverts a pixmap into a picture so you can use other Picture Functions VIs to append drawing instructions to the image. The data type you wire to the data input determines the polymorphic instance to use. If you want to convert a 4-bit or 8-bit pixmap, you must manually select the polymorphic instance you want to use.
Empty PictureReturns an empty picture. The picture input for all Picture VIs is an empty picture by default.
Get Image SubsetReturns a subset of a source image instead of the entire image. Use the Picture to Pixmap VI to convert a picture to a cluster you can wire to image data.
Get Text RectReturns the bounding rectangle of a string.
Hilite ColorReturns two new colors well matched to the input color for highlight and shadow coloration, based on the input color and a percentage you specify.
Move PenChanges the current pen location of a picture to the specified position or by the specified amount if the position is relative.
Picture to PixmapConverts a picture to a cluster of image data you can use to perform certain tasks with the image, such as save it to a file using the Graphics Formats VIs.
RGB to ColorConverts a red, green, and blue value from 0 to 255 to the corresponding RGB color.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit