Code Modules

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

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.

Notes Notes
  • 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.

See Also

Communicating with Hardware Drivers

Custom Step Properties

Deploying TestStand Systems

Executing Code Modules in Parallel (Example)

Module Adapters

WAS THIS ARTICLE HELPFUL?

Not Helpful