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.
- 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.
- Find the index of the type palette file you are interested in saving.
- 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