Sequence Parameters
- Updated2025-07-23
- 1 minute(s) read
Each sequence includes its own parameters you can use to pass data to a subsequence you call. Using parameters in this way is analogous to wiring data to terminals when you call a subVI in LabVIEW and to passing arguments to a function call in LabWindows/CVI. You can also specify a default value for each parameter.
You can specify the number of parameters and the data type of each parameter. You can select a value to pass to the parameter or use the default value of the parameter. You can pass sequence parameters by value or by reference to any step that calls a subsequence or any step that calls a code module that uses the LabVIEW, LabWindows/CVI, C/C++ DLL, .NET, or ActiveX/COM Adapter. You can also access parameters from code modules of steps in the sequence by using the TestStand API.
View and edit the parameters for a sequence on the Variables pane of the Sequence File window. Use the Value column on the Variables pane to modify string, numeric, and Boolean values.
NI recommends that you carefully analyze use cases and create extensible, parameterized code modules when you develop a TestStand system so you can more easily reuse the code modules with different parameters for future systems. However, code modules that are highly parameterized might be difficult to use and maintain.