Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated

Archived: NI TestStand 2010 Patch for Custom Step Types Using the .NET or Sequence Adapter

This document has been archived and is no longer updated by National Instruments



Primary Software:
Primary Software Version: 2010
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
You may encounter edit-time or run-time errors when upgrading an XML or Binary format sequence file to NI TestStand 2010 if the file contains custom step types that specify a Default Module which uses the .NET or Sequence Adapter.

In the case of upgrading XML or Binary format sequence files containing a custom step type that specifies a Default Module which uses the .NET adapter, you will lose the module information for step instances whose module exactly matches the default module of the custom step type. Steps affected by this issue will be flagged by the Sequence Analyzer as errors and will display a run-time error if executed.

In the case of upgrading XML or Binary format sequence files containing a custom step type that specifies a Default Module which uses the Sequence adapter, an error provider will display on the module tab for step instances where the module exactly matches the default module of the custom step type and the parameter list contains a parameter of type Number or Array of Numbers. Steps affected by this issue will be flagged by the Sequence Analyzer as errors, however, these steps will successfully execute at run-time.

Solution:
These issues are fixed in the NI TestStand 2010 f1 Patch. The TestStand 2010 f1 Patch fixes multiple critical issues and National Instruments strongly recommends the f1 patch for all NI TestStand 2010 installations.  Visit TestStand 2010 f1 Patch Details to obtain more information about the TestStand 2010 f1 Patch. The patch can be downloaded here:

NI TestStand 2010 f1 Patch

Workarounds
If you cannot install the above patch, you can avoid this issue using the following possible workaround:
  • Prior to upgrading your sequence files to NI TestStand 2010, save them in the INI file format using NI TestStand 4.2.1 or earlier. After saving the sequence files in the INI file format, open them in NI TestStand 2010. The sequence files will be correctly upgraded and you can then save the sequence files in their original file format using NI TestStand 2010. You can use the Update Sequence Files... Tools menu item to change the file format of multiple sequence files simultaneously prior to upgrading them to NI TestStand 2010.
If you are in a situation where you have already upgraded your sequence files to NI TestStand 2010, saved over the original version, and have absolutely no backups of your sequence files, you can use the tool attached to this article as a last resort for recovering any affected steps.

To use this tool, extract the zipped files to <TestStand Public>\Components\Tools\TS 2010 Upgrade Bug Tool\. Create a custom Tools menu item that calls a sequence, point to the MainSequence of TS2010_Step_Fixer.seq, and name the tool something meaningful to you. You can run the tool on an already open sequence file or you can run the tool on all sequence files located in a directory (and its subdirectories). The tool will prompt you before updating or saving any files to disk.

If you have further questions, please contact National Instruments Support.

Related Links:
NI TestStand 2010 f1 Patch

Attachments:
TestStand 2010 Upgrade Bug.zip




Report Date: 12/03/2010
Last Updated: 05/13/2011
Document ID: 5G28OQXU

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit