Model Plug-in - Simple Text Report
- Updated2025-03-28
- 2 minute(s) read
<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.
- Open the <TestStand Public>\Examples\Customizing Result Processing\ModelPlugin Simple Text Report\LabVIEW\SimpleTextPlugin.lvproj file in LabVIEW.
- Build the Build Simple Text Plugin build specification.
- 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
- 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.
- Open the <TestStand Public>Examples\Customizing Result Processing\Model Plugin - Simple Text Report\CVI\SimpleTextReport.cws file in LabWindows/CVI.
- Select Build»Create Debuggable Dynamic Link Library.
- 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.
- 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.
- 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.
- Open and build the <TestStand Public>\Examples\Customizing Result Processing\ModelPlugin Simple Text Report\DotNet\SimpleTextReport.sln file.
- 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.
- Create the <TestStand Public>\Components\Models\ModelPlugins\NI_SimpleTextReport_DotNet directory if it does not already exist.
- 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.
- 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.
- Add and enable an instance of the Microsoft Visual C# simple text report process model plug-in in the Result Processing dialog box.