From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

How to Programmatically Launch MAX Test Panels From LabVIEW for a Local Device

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Hardware

  • Data Acquisition (DAQ)

    Software

  • LabVIEW

Code and Documents

Attachment

Overview
Sometimes a user simply wants to see the output of a DAQ devices and is uninterested in logging that data or getting specific values. In this case it's appropriate to simply launch a MAX test panel to quickly look at what a DAQ card can do.

Description:
This VI will allow a user to launch a MAX test panel from the command line. This example is inspired from this Knowledge Base Article: http://digital.ni.com/public.nsf/allkb/9B628A8B1B13136F86256DDB0004DE4D

Steps to implement or execute code
To implement this example:

  1. Set the path to nidmfpan.exe
  2. Select the DAQ device you'd like to use
  3. Press run
  4. When complete, close the window and the VI will automatically stop

To execute this example:

  1. Install the required software.
  2. Connect the DAQ hardware
  3. Open the VI and refer the Implement Steps


Requirements
Software
LabVIEW 2012 or compatible
NI-DAQmx 9.0 or compatible

Hardware
cDAQ with C series Module

 

be.JPGfp.JPG

**This document has been updated to meet the current required format for the NI Code Exchange.**

Bobby Breyer
Applications Engineer
National Instruments

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.