FIRST Robotics Competition Blog

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Snippets to Show Cool LabVIEW Functionality

Whit-E_Wall-E
NI Employee (retired)

Every week on Tuesday and Thursday we will be posting LabVIEW Snippets to show different LabVIEW functionality and ways to enhance your LabVIEW Programs.  These snippets will range in basic LabVIEW tips and tricks, as well as more specific FRC LabVIEW functionality to enhance an example or help better utilize the different WPI Library functions.  With each post feel free to discuss the functionality and how you see it being used for FRC or programming in general!

How do you use a VI Snippet?

To add a VI Snippet to your block diagram, drag the image from file manager (such as Windows Explorer) or Internet Explorer onto a Block Diagram Window.

Using_a_VI_Snippet.png

Figure 1- VI Snippets make sharing code easy

Generally dragging and dropping an image file onto your block diagram will add an image decoration to your block diagram.  VI Snippets are special PNG images that have LabVIEW code in addition to the regular image data.  When you drop a VI Snippet onto the block diagram you get the depicted code added to your VI.

Regards,

M. Whitaker
ni.com/support