labview How to create a VI Snippet in LabVIEW and post in a question. Snippet VI for summation of two numbers


Example

Creating summation is quite easy in 3 steps

  1. On front panel, Add 2 numeric controls (number 1 and Number 2) and 1 numeric indicator (sum).

enter image description here

  1. Switch to block diagram(using CTRL+E) and connect Add block from numeric palette. Wire it to both numeric controls and sum indicator created in step 1. Eventually select all blocks by mouse (or by using keyboard CTRL+A . enter image description here
  2. Go to Edit menu, select "create VI snippet from selection". Save yoursnippetname.png to any location.

enter image description here enter image description here

  1. You can use snippet by dragging the image to block diagram

enter image description here