To download NI software, including the products shown below, visit ni.com/downloads.
Use this troubleshooting example code to test functionality and diagnose problems with your NI myDAQ. If you are unable to find the root cause of the issue, please use the Academic Hardware Product (myDAQ and myRIO) Community Forum.
Note: This code package uses legacy NI hardware and software products, has not been tested on new systems, and is not supported by NI.
Description-Separate-2
To begin, download and unzip the NI myDAQ Troubleshooting Code Installer.
Double-click the setup.exe file to to install the Utility on your computer. After installation is complete, navigate to Start»All Programs»National Instruments»myDAQ Troubleshooting Utility to launch the code and begin testing your NI myDAQ.
You will need the following materials to complete the test procedure:
If not all materials are available, you can skip the test steps that require the missing item. The rest of the test results will be reported normally.
After launching the utility, the available built-in testing options are shown on the left.
Click Run Test to begin the testing procedure
Click the Launch Test Panel button to access the NI myDAQ channels directly for more advanced testing options.
Click the Help button to open the help file.
Click the Exit button to close the NI myDAQ Troubleshooting Utility.
After the basic test begins, the testing interface displays. This interface window contains the Test Status display in the left pane and the test step information in the right pane.
Test Status
The Test Status display provides an overview of the steps in the test and its current status.
Each test name has a corresponding icon to indicate the status.
Idle—The test was skipped or has not yet executed.
Running—The test is currently executing or waiting on user configuration.
Passed—The test passed successfully.
Failed—The test failed. Refer to the test report for more details on the failure.
Error—An error occurred while executing the test. Refer to the test report for error details.
The Test Status display also allows the user to navigate between tests at any time by clicking the test name or icon to jump to that test. Execution will continue sequentially from that test as normal.
The step information section contains detailed information on any required hardware setup for the test. This section also allows you to configure test parameters, such as expected measurement values and power sources.
When setup and configuration is complete, click the Run Step button to run the step. The test results will be updated in the Test Status Display as you run through the tests. To skip the current test, either click the Skip Step button, or use the Test Status display to navigate to the next test.
For more information on the specific tests, refer to the Specific Test Details topic of the myDAQ Troubleshooting Code Help. To access this document, click the Help button in the Utility start window, or navigate to Start»All Programs»National Instruments»myDAQ Troubleshooting Utility»myDAQ Troubleshooting Utility Help.
After completing the test, a detailed report is generated and displays in the code. This report contains detailed information on the test result, a diagnosis of the problem based on the results, and suggestions for following tests. The report will help you to conduct the troubleshooting steps necessary to either fix or diagnose the problem.
To save the report to a file in HTML format, click the Save Report button. To view the report as a page in your default browser, click the View In Browser button.
How-Separate-2
The NI myDAQ Troubleshooting Code requires that both NI-DAQmx 9.1.6 or later and NI ELVISmx 4.2.2 or later be installed on the computer, and that the NI myDAQ be plugged into the computer.
If you are unable to communicate with the NI myDAQ, complete the following steps to verify that the NI myDAQ is successfully recognized by the computer.
Note: Before starting this process, close all NI software completely.
Additional-Separate-2
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.