Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

LabVIEW VI Templates, Example VIs, and Tools

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Use the LabVIEW VI templates, project templates, sample projects, example VIs, and tools as a starting point to help you design and build VIs.

LabVIEW VI Templates

The built-in VI templates include the subVIs, functions, structures, and front panel objects you need to get started building common measurement applications. VI templates open as [template name] #.vi, where template name is the name of the template and # is a unique decimal number. Select File»New to display the New dialog box, which lists the built-in VI templates.

Application design patterns are available in the VI»From Template»Frameworks category under Design Patterns. Application design patterns represent LabVIEW architectures and techniques that are solutions to specific problems in software design.

You also can create custom VI templates.

LabVIEW Project Templates and Sample Projects

LabVIEW includes several templates that provide starting points for useful design patterns, such as a state machine and a queued message handler. LabVIEW also includes sample projects that demonstrate working applications based on these templates. You can customize these templates and sample projects according to the needs of your application.

Select File»Create Project to display the Create Project dialog box, which lists these templates and sample projects.

LabVIEW Example VIs

LabVIEW searches among hundreds of example VIs you can use and incorporate into VIs that you create. You can modify an example to fit an application, or you can copy and paste from one or more examples into a VI that you create. Browse or search the example VIs with the NI Example Finder by selecting Help»Find Examples.

Refer to NI Developer Zone for additional example VIs. (Windows) You also can search in LabVIEW for example VIs to download from ni.com.

You also can access examples using the Open example and Find related examples buttons located at the bottom of certain VI and function reference topics in the LabVIEW Help. Click the Open example button to open the example VI to which the topic refers. Click the Find related examples button to open the NI Example Finder and display related example VIs.

You also can right-click a VI or function on the block diagram or on a pinned palette and select Examples from the shortcut menu to display a help topic with links to examples for that VI or function.

LabVIEW Tools for DAQ Configuration (Windows)

Use Measurement & Automation Explorer (MAX) to help you configure measurement devices. Select Tools»Measurement & Automation Explorer to launch MAX and configure National Instruments hardware and software.

Note  The Measurement & Automation Explorer option is available only if you install Measurement & Automation Explorer.

Refer to Controlling Instruments for information about controlling other types of instruments.

Use the DAQ Assistant to graphically configure channels or common measurement tasks. The DAQ Assistant Express VI does not appear on the Functions palette unless you have NI-DAQmx installed. Refer to the DAQ Getting Started Guide for more information about installing NI-DAQmx. You can access the DAQ Assistant in the following ways:

  • Place the DAQ Assistant Express VI on the block diagram.
  • Right-click a DAQmx global channel control and select New Channel (DAQ Assistant) from the shortcut menu. Right-click a DAQmx task name control and select New Task (DAQ Assistant) from the shortcut menu. Right-click a DAQmx scale name control and select New Scale (DAQ Assistant) from the shortcut menu.
  • Launch Measurement & Automation Explorer and select Data Neighborhood or Scales from the Configuration tree. Click the Create New button. Configure an NI-DAQmx channel, task, or scale.

 

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