Adding Dynamically Called Files to a Workspace
- 更新时间2025-07-23
- 阅读时长3分钟
Complete the following steps to add dynamically called files to 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. To deploy a dynamically called file, you must add the file to a workspace that you deploy.
- 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 Dynamically_called_sequence.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, which reports a warning that an expression calls a sequence file you might need to add to the workspace.
- Click the Distributed Files tab and notice that Dynamic.seq is missing in the Distributed Files list.
- In the sequence editor, open the <TestStand Public>\Examples\Fundamentals\Deployment\Dynamically_called_sequence.tsw workspace file.
- Add <TestStand Public>\Examples\Fundamentals\Deployment\Dynamic.seq to the workspace file and save the changes.
- On the Distributed Files tab of the deployment utility, click the Analyze Source Files button to analyze the modified workspace file. Notice that the Distributed File list now includes Dynamic.seq.
- Click the Build Status tab and review the Status Log, which reports a warning about an expression calling a sequence file. You can ignore the warning because you just added the correct sequence to the workspace.
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 and 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 Dynamic.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\Call_sequence_dynamically.seq.
- On the Mode tab, select the MSI-based installer output type.
相关内容
- 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.
- Distributing a User Interface
- Distributing Tests from a Workspace