Close Database Step
- Aktualisiert2025-07-21
- 1 Minute(n) Lesezeit
Close Database Step
Use a Close Database step to close the database handle you obtain from an Open Database step. You must call a Close Database step for open handles because TestStand does not automatically close open database handles.
When you abort an execution, you must exit the application process that loaded the TestStand Engine to guarantee that TestStand frees all database handles. Selecting File»Unload All Modules does not close the handles. National Instruments recommends placing Close Database steps in the Cleanup step group .
Configuring the Step
Use the Edit Close Database dialog box in the TestStand Sequence Editor or in a TestStand User Interface to configure the Close Database step.
Step Properties
In addition to the common custom properties , the Close Database step type defines the Step.DatabaseHandle step property, which specifies the name of the numeric variable or property that contains the open database handle to close.