Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Simple Text Report Process Model Plug-in

NI TestStand™ 2012 Help

Edition Date: August 2012

Part Number: 370052K-01

»View Product Info

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\ModelPlugins\SimpleTextReport

Highlighted Features

Process model plug-ins

Major API

N/A

Prerequisites

TestStand 2012 or later

How to Use This Example

You can use the <TestStand Public>\Examples\ModelPlugins\SimpleTextReport\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. National Instruments 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\ModelPlugins\SimpleTextReport\LabVIEW\SimpleTextPlugin.lvproj file in LabVIEW 2009 or later.
  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\ModelPlugins\SimpleTextReport\CVI\SimpleTextReport.cws file in LabWindows/CVI 9.0.1 or later.
  2. Select Build»Create Debuggable Dynamic Link Library.
  3. Copy the <TestStand Public>\Examples\ModelPlugins\SimpleTextReport\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\ModelPlugins\SimpleTextReport\DotNet\SimpleTextReport.sln file.
  2. Copy the <TestStand Public>\Examples\ModelPlugins\SimpleTextReport\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\ModelPlugins\SimpleTextReport\DotNet\SimpleTextPlugin_DotNet.dll file to the <TestStand Public>\Components\Models\ModelPlugins\NI_SimpleTextReport_DotNet directory.
  5. Copy the <TestStand Public>\Examples\ModelPlugins\SimpleTextReport\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.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit