Distributing Tests from a Workspace
- Aktualisiert2025-07-23
- 3 Minute(n) Lesezeit
Complete the following steps to distribute tests from a workspace.
- Select Tools»Deploy TestStand System in the TestStand Sequence Editor to launch the TestStand Deployment Utility.
- On the System Source tab, enable the Deploy Files»From TestStand Workspace File option.
- Click the File Browse button located to the right of the From TestStand Workspace File control.
- Browse to the <TestStand Public>\Examples\Fundamentals\Deployment directory and select the test.tsw workspace file.
- Click Open.
- Click the Distributed Files tab.
- Click Yes in the dialog box that launches to allow the deployment utility to analyze the workspace file and dependent files.
- Click the Build Status tab and review the Status Log to check for analysis result warnings.
Configuring the Installer
Complete the following steps to configure the installer.
- On the Installer Options tab, use the Installer Directory control to specify the directory to which the deployment utility copies the installer for the test system.
- Disable the unused.dll option to remove it from the deployment because the example test system does not use this DLL.
- On the Installer Options tab, enable the Install TestStand Runtime option.
- Click the Drivers and Components button to launch the Drivers and Components dialog box, in which you can select additional components to include in the installer.
- Disable the Only display runtime installers option to display the TestStand product.
- Select the TestStand product to include the sequence editor in the TestStand Runtime installation.
- Click OK to apply the new settings and close the dialog box.
- Click Save to save the build as test.tsd.
- Click the Build button to build the installer.
Package-based distribution
Complete the following steps to configure the package distribution:
- On the Mode tab, select the Package-based Distribution output type, then select the Package Installer option.
- On the Package Distribution Options tab, use the Output Directory control to specify the directory to which the deployment utility copies the installer for the test system.
- On the Package Distribution Options tab, enable the Install TestStand Runtime option.
- Click the Dependencies button to launch the Drivers and Components dialog box, in which you can select additional components to include in the distribution.
- Select the TestStand Sequence Editor product to include the sequence editor in the TestStand Runtime installation.
- Click OK to apply the new settings and close the dialog box.
- Click Save to save the build as EnginePackageInstaller.tsd.
- Click Build to build the package installer.
Installing the Test System
Complete the following steps to install the test system.
- To use the installer, copy all the files from the installer directory you specified on the Installer Options tab to the distribution media you want to use or to a shared directory on a network.
- On the test station computer, insert the distribution media or connect to the network and run the installer executable to start the installer.
- When the installation completes, complete the following steps to verify that the TestStand Runtime installed correctly.
- Launch NI Package Manager
- Select the Installed tab, and enter teststand in the search field.
- Verify that the TestStand products you included are present in the list of packages.
- Activate a license when the sequence editor prompts you.
- Verify the installation by loading and running <TestStand Public>\Examples\Fundamentals\Deployment\test.seq.
Verwandte Inhalte
- TestStand Directory Structure
- Activating and Licensing TestStand
After you install TestStand, you must use NI License Manager to activate the software or initiate the evaluation period for the software.
- Adding Dynamically Called Files to a Workspace
- Distributing a User Interface