Draw Point VI

Owning Palette: Picture Functions VIs

Requires: Base Development System

Sets a pixel in a picture to a specified color.

 Add to the block diagram  Find on the palette
picture is the picture to which you want to add a pixel. The default is an empty picture.
point(x,y) is the coordinate of the pixel to set in the resulting picture relative to the current location of the origin.
x is the horizontal coordinate that increases to the right.
y is the vertical coordinate that increases to the bottom.
color is the color of the pixel. The default is black. You can wire a color box constant to this input.
pen sets the width and style of the pen the VI uses to draw the picture.
Width sets the width in pixels of the pen the VI uses to draw the picture.
Style sets the style of the line the VI uses to draw the picture.

0Solid (default)
1Dash
2Dot
3DashDot
4DashDotDot
new picture is the picture that contains the new image. You can wire this output to any other picture input to add more drawing instructions to the picture. You also can wire this output to the Picture to Pixmap VI to obtain an image data cluster. You then can use the Graphics Formats VIs to save the image data to a file. You can wire this output to the Concatenate Strings function to concatenate the output from multiple Picture Functions VIs so that they draw on a single picture control.