<TestStand Public>\Examples\Customizing Result Processing\ModelPlugin Simple Text Report

Purpose

This example demonstrates how to implement a result processing process model plug-in using LabVIEW, LabWindows/CVI, and Microsoft Visual C#.

Example File Location

<TestStand Public>\Examples\Customizing Result Processing\ModelPlugin Simple Text Report\Install Simple Text Report Plugin.seq

Highlighted Features

Process model plug-in architecture

Major API

N/A

Prerequisites

None

How to Use This Example

You can use the <TestStand Public>\Examples\Customizing Result Processing\ModelPlugin Simple Text Report\SetupExamplePlugin.seq example sequence file to install a result processing process model plug-in that generates a simple text report you can use for system monitoring and debugging. NI recommends using the Microsoft Visual C# version if you intend to use the simple text reporting functionality only as provided.

LabVIEW

Complete the following steps to build and use the LabVIEW version of this example.

  1. Open the <TestStand Public>\Examples\Customizing Result Processing\ModelPlugin Simple Text Report\LabVIEW\SimpleTextPlugin.lvproj file in LabVIEW.
  2. Build the Build Simple Text Plugin build specification.
  3. Confirm that the following files exist:
    • <TestStand Public>\Components\Models\ModelPlugins\NI_SimpleTextReport_LabVIEW\SimpleTextPlugin.llb
    • <TestStand Public>\Components\Models\ModelPlugins\NI_SimpleTextReport_LabVIEW.seq
  4. Add and enable an instance of the LabVIEW simple text report process model plug-in in the Result Processing dialog box.

LabWindows/CVI

Complete the following steps to build and use the LabWindows/CVI version of this example.

  1. Open the <TestStand Public>Examples\Customizing Result Processing\Model Plugin - Simple Text Report\CVI\SimpleTextReport.cws file in LabWindows/CVI.
  2. Select Build»Create Debuggable Dynamic Link Library.
  3. Copy the <TestStand Public>\Examples\Customizing Result Processing\ModelPlugin Simple Text Report\CVI\NI_SimpleTextReport_CVI.seq file to the <TestStand Public>\Components\Models\ModelPlugins directory.
  4. Confirm that the <TestStand Public>\Components\Models\ModelPlugins\NI_SimpleTextReport_CVI\NI_SimpleTextReport_CVI.dll file exists and has been overwritten by the version you just built.
  5. Add and enable an instance of the LabWindows/CVI simple text report process model plug-in in the Result Processing dialog box.

Microsoft Visual C#

Complete the following steps to build and use the Microsoft Visual C# version of this example.

  1. Open and build the <TestStand Public>\Examples\Customizing Result Processing\ModelPlugin Simple Text Report\DotNet\SimpleTextReport.sln file.
  2. Copy the <TestStand Public>\Examples\Customizing Result Processing\ModelPlugin Simple Text Report\DotNet\NI_SimpleTextReport_DotNet.seq file to the <TestStand Public>\Components\Models\ModelPlugins directory.
  3. Create the <TestStand Public>\Components\Models\ModelPlugins\NI_SimpleTextReport_DotNet directory if it does not already exist.
  4. Copy the <TestStand Public>\Examples\Customizing Result Processing\ModelPlugin Simple Text Report\DotNet\SimpleTextPlugin_DotNet.dll file to the <TestStand Public>\Components\Models\ModelPlugins\NI_SimpleTextReport_DotNet directory.
  5. Copy the <TestStand Public>\Examples\Customizing Result Processing\ModelPlugin Simple Text Report\DotNet\NationalInstruments.TestStand.Utility.dll file to the <TestStand Public>\Components\Models\ModelPlugins\NI_SimpleTextReport_DotNet directory.
  6. Add and enable an instance of the Microsoft Visual C# simple text report process model plug-in in the Result Processing dialog box.