Browse KB Articles
Getting Started with NI-MAX and LabVIEW
KB Number: 10791
Technical Application Note (TAN2014015): Getting Started with NI-MAX and LabVIEW
Application Note Description
This application note provides information on how to install, configure, and use FLIR machine vision cameras with NI-MAX and LabVIEW.
National Instruments’ Measurement and Automation explorer (NI-MAX) is a viewer that allows users to configure cameras and stream images. This 32-bit application is typically used to verify camera functionality.
National Instruments’ LabVIEW is a graphical programming language used for data acquisition and instrument control in various platforms including Windows and Linux. For more information about programming in LabVIEW, see Introduction to NI LabView.
Preparing for Use
Before you use your camera, we recommend that you are aware of the following resources available from our Downloads page:
Getting Started Manual for the camera—provides information on installing components and software needed to run the camera.
Technical Reference for the camera—provides information on the camera’s specifications, features and operations, as well as imaging and acquisition controls.
Firmware updates—ensure you are using the most up-to-date firmware for the camera to take advantage of improvements and fixes.
Installation and Configuration
The steps for installing and setting up depend which interface your camera uses.
The following sections provide more detail.
Follow the installation instructions.
For USB2 cameras, the Direct Show filter provided with the FlyCapture2 SDK is required.
To install the FlyCapture2 Direct Show filter:
To start NI-MAX:
Start Menu→All Programs→National Instruments→NI-MAX
If so, right click the camera and select the driver prefixed by NI-IMAQdx.
To start acquisition:
For GigE Vision cameras, if you receive an error that the system did not receive a test packet from the camera you need to enable Firewall Traversal in NI-MAX.
Programming with LabVIEW
To program using LabVIEW, you can either use the built-in IMAQdx library or access the camera through the ActiveX interface.
LabVIEW example source code is available from Knowledge Base Article 10714.
The following suggestions may help you troubleshoot issues with your camera:
Update Camera Driver (FireWire and USB3 only)
If the camera driver is not installed properly, the camera does not appear in the NI-IMAQdx Devices list.
To update your driver: