Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Save Type Palette Files for a Previous Version of TestStand

Primary Software: TestStand
Primary Software Version: 4.0.1f1
Primary Software Fixed Version: N/A
Secondary Software: TestStand

Problem:
How can I save my type palette files for a previous version of TestStand?

Solution:

You can do this using the TestStand API methods. 

  1. Obtain a reference to all your type palette files:
    • Call GetTypePaletteFileList, a method of the TestStand Engine class.
    • This will return an array of PropertyObjectFile references, each one referring to one of your type palette files. 
  2. Find the index of the type palette file you are interested in saving.
  3. Save the file for a previous version:
    • Call the WriteFile method of the PropertyObjectFile class on the array element from Step 2.
    • As the parameter of this method, select the version of the file you wish to write. 

See the attached sequence for an example of this.



Related Links:

Attachments:
TypePaletteWriter_TS4.seq





Report Date: 04/01/2008
Last Updated: 11/13/2008
Document ID: 4K0G46XU

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