08-10-2008 12:19 PM - edited 08-10-2008 12:21 PM
Hi,
Here is an example (Previous Version.zip) that highlight the pitfalls of creating a Step Type as detailed in the knowledgebase. Just follow the Readme.doc contained in the zip file. This example assumes you haven't used the compatibity file for TS3.5 found in the second example.
The second example (Type Conflict.zip) highlights the difference it makes using the Compatibilty file. Again just follow the Readme.doc file.
I hope these examples can be used to enhance the NI TestStand Advanced Series: NI TestStand Type Management Best Practices found at http://zone.ni.com/devzone/cda/tut/p/id/7022.
Regards
Ray Farmer
08-12-2008 12:19 PM
08-12-2008 01:39 PM
Hi Manooch,
Thanks for the update.
(Maybe the error was because I was using a beta version of 4.1!)
I tried your new sequencefile, much better, but it does need a little tweak. I looked at the resultant type file and although it had _35 appended to the file name it was infact a version 3.1.
I spotted the problem, the WriteFile has the enum of WriteFileFormat_TestStand31. I couldn't see anywhere in the sequence where this setting was changed. I changed the API call to use a Locals and set this after the MessagePopup so that the value was equal to 7 for version 3.5.
This produced the correct version of type file.
Regards
Ray
06-27-2022 08:53 AM
There is another shortcut way to do this.
Thanks,
Ajay