What is New for TestStand 4.0? Primary Software: TestStandPrimary Software Version: 4.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: What is new for TestStand 4.0? Solution:
Redesigned Sequence EditorThe redesigned sequence editor includes the following enhancements:
Creating Custom Sequence Editors Using TestStand User Interface (UI) ControlsThe TestStand UI Controls support editing sequence files. You can enable sequence editing by setting the ApplicationMgr.IsEditor property or by using the /editor command-line flag. The user interface examples now fully support editing sequences. In Operator Mode, the user interfaces behave as in previous versions of TestStand. In Editor Mode, the user interfaces display additional views, menu items, and toolbar buttons, such as the Insertion Palette control and the Variables View control, for editing sequence files. The user interfaces do not support dockable panes, and you must use dialog boxes to configure steps and code modules as in previous versions of TestStand. TestStand 4.0 renames the <TestStand>\OperatorInterfaces directory to <TestStand>\UserInterfaces to reflect that the example applications can now optionally function as editors. In addition, the LabVIEW full-featured user interface was redesigned to simplify VI block diagrams, allowing you to easily make changes. TestStand 4.0 includes a new TestStand Custom Sequence Editor License that you can use when using a custom sequence editor application. You can now use this license instead of the TestStand Development System License for a system where you deploy a custom sequence editor application. Note TestStand applications that use the User Interface Controls to edit and save sequence files must set ApplicationMgr.IsEditor to True before calling ApplicationMgr.Start. If the application uses only the TestStand API, the application should request a custom sequence editor license by calling the Engine.AcquireLicense method after creating the TestStand Engine. If you do not call this method, TestStand automatically acquires the minimum license, the TestStand Base Deployment Engine License, when you call specific Engine methods such as Engine.GetSequenceFile and Engine.NewSequenceFile. If the application later attempts to save a sequence file, TestStand attempts to acquire a license that can save files and can prompt the user to activate the license. New Sequence File FormatsTestStand 4.0 includes binary and XML sequence file formats in addition to the INI file format. Use the binary file format if you want the fastest load and save times and the smallest files. Use the XML file format if you want your files to be human readable or if you want to parse the files as XML. You can specify the default format for new files by selecting Configure» Station Options, selecting the Preferences tab, and clicking the File Format Options button. You can also change the format before you save sequence files by selecting Edit»Sequence File Properties, selecting the General tab, and changing the value in the File Format ring control. You can convert between file formats using the Sequence File Converter tool that TestStand launches when you select Tools»Update Sequence Files. You can use the tool interactively, or you can use command-line arguments. Caution Changing between binary and other formats might require changes to source code control settings, such as changing the file type in the source code control provider to ensure that the provider stores the files properly. Note In TestStand 3.5, protected sequence files were saved as .INI files, but the file contained binary data. In TestStand 4.0, protected sequence files that use the .INI file format now contain only text data and no longer contain binary data. Custom Sequence File TranslatorsYou can create custom sequence file translators that TestStand uses to load sequence files with your own custom file formats. You can create translators in various development environments, use versioning schemes with custom files, and deploy translators with TestStand. A custom sequence file translator allows TestStand to load test description files saved in a custom format, such as text or XML. The translator reads the contents of the custom sequence file, translates the contents to a TestStand sequence file, and opens the TestStand sequence file in the sequence editor or a user interface. Within the sequence editor or user interface, you can perform all typical operations supported in the TestStand sequence files, such as executing and debugging sequences, diffing files, adding custom sequence files to workspaces, and deploying custom sequence files. However, you cannot save changes you make to the TestStand sequence file back to a custom sequence file format. You must make all changes to the custom sequence file directly. Refer to Chapter 15, Sequence File Translators, in the NI TestStand Reference Manual for more information about custom sequence file translators. Refer to <TestStand>\Examples\SequenceFileTranslators for example custom sequence files and translators. API AdditionsTestStand 4.0 includes new User Interface Controls and new API classes, methods, and properties. Additionally, some API methods and properties are now obsolete. Note Some components of TestStand, such as the TestStand Sequence Editor, expose .NET assemblies; however, the use of undocumented assembly API is not supported. Other TestStand EnhancementsTestStand includes the following other enhancements:
Related Links: KnowledgeBase 4CTJF2XU: Known Compatibility Issues for TestStand 4.0 KnowledgeBase 4CTJCMXU: TestStand 4.0 Bug Fixes KnowledgeBase 4CTIJKXU: What is New for the TestStand 4.0 API? KnowledgeBase 4CUFCEGJ: What is New for TestStand 3.5? KnowledgeBase 4CUF7NGJ: Known Compatibility Issues for TestStand 3.5 KnowledgeBase 4CUD9RXU: What is New for TestStand 3.1? KnowledgeBase 4CUED0XU: Known Compatibility Issues for TestStand 3.1 KnowledgeBase 4CUD4KXU: What is New for TestStand 3.0? KnowledgeBase 4CUEBDXU: Known Compatibility Issues for TestStand 3.0 Attachments:
Report Date: 08/30/2007 Last Updated: 09/05/2007 Document ID: 4CTHULXU |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
