National Instruments Software products such as LabVIEW, LabVIEW NXG, TestStand, LabWindows/CVI, Measurement Studio and many others, provide examples to help users learn about various functions, advance their knowledge and provide code to use as a starting point in their projects.
Example code to help users get started is also installed with various National Instruments drivers and toolkits, such as NI-DAQmx, NI-VISA, NI-488.2, NI-Serial, NI-RIO, NI Vision Development Module, NI Report Generation Toolkit, and various other drivers or toolkits. These examples can easily be accessed from within NI software products.
While the experience can differ slightly across products and versions, the examples generally install with the product and can be accessed by the users from within the product. To learn more about where the examples for your software are installed see the help file, manual or readme for your software version.
To find examples installed with LabVIEW or an NI driver that are accessible in LabVIEW follow the steps below:
Select Help >> Find Examples from the Menu Bar to launch the NI Example Finder
Within the NI Example Finder, you can double-click a folder to see available example files. Examples installed with an NI or Third-Party driver are often found within the Hardware Input and Output folder, while examples installed with Toolkits or Modules are often found within the Toolkits and Modules folder.
You can also find examples from the Search tab, by searching for topics, products or modules relevant to your application.
Many NI Drivers and toolkits also provide text-based examples to help users learn about various functions and provide code to use as a starting point in their .NET, C# and C projects. When installing your driver or toolkit review the Additional Items that can be installed to support your product, as the list may include supporting examples, as seen below.
Additionally, some products provide a separate download to access text-based support and examples. You can find more information regarding .NET Support for drivers and toolkits here on the National Instruments .NET Support page.
If you are unable to find relevant example code for your application installed with your product, be sure to check out the Community Code Exchange, where you can find examples created and published by other NI Community users.