Example Code

MAX Technical Support Report Comparison using LabVIEW

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.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview
Applications Engineers asks for a MAX Report all the time to help you with your issues as it reveals a lot of various information about one's system. To be able to manipulate and extract information from these files is always helpful for the troubleshooting process.

 
Description
By inserting the MAX Report ZIP file, you will be able to see the Running, Disabled and Stopped services for the corresponding system. You also have the functionality of comparing two MAX Report's list of running, disabled and stopped services and also the software on each system. This is very useful for troubleshooting between a working and a non-working PC.


Requirements

Software:

  1. LabVIEW 2012(or compatible)


Steps to Implement or Execute Code

  1. Open "MAX Report Viewer Services.vi"
  2. Enter a MAX Tech Support Report ZIP file into the top file path control.
  3. (Optional) If you would like to compare the list of services and software, enter in another MAX Technical Support Report ZIP file and ensure the Compare button is set to TRUE before running the code. If you don't want to compare anything, deselect the Compare button. (It is TRUE by default)
  4. Run the code, and the Computer name, Operating System, 32/64-bit information should be extracted from the report and displayed in the corresponding indicators.

 

Additional Information or References
VI Block Diagram

 1.png

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

Jinfone
Applications Engineer
National Instruments

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