Code Modules

A code module is a program module from an application development environment (ADE) or programming language and can contain one or more functions that perform a specific test or other action. Module adapters load and call code modules, pass parameters to code modules, and return values and status from code modules.

Configure a step to use a module adapter to a step to specify what type of code module the step calls. For example, use the LabVIEW Adapter to call a LabVIEW VI (.vi) or use the LabWindows/CVI Adapter to call a Microsoft Windows dynamic link library (.dll).

Module adapters load and call code modules, pass parameters to code modules, and return values and status from code modules.

Note
  • Use relative paths to specify code modules because you typically organize code module files in a folder relative to the TestStand sequence file and TestStand steps. Absolute paths can cause errors in deployment and multiple-developer scenarios because directory structures frequently vary among systems. Absolute paths also increase the maintenance burden if you want to move files within the TestStand system.
  • Not all steps call code modules. Some steps perform standard actions you configure using panes and dialog boxes. In this case, the panes and dialog boxes use the custom step properties to store the configuration settings you specify.