|Download Help (Windows Only)|
Owning Palette: SoftMotion Module
Destroys the SoftMotion interface reference. LabVIEW destroys existing motion references automatically when the top-level VI finishes running. However, National Instruments recommends that you destroy the motion reference explicitly, especially in a long-running application, to conserve memory resources. Details Examples
|motion handle is the SoftMotion interface object refnum.|
|error in describes error conditions that occur before this VI or function runs. This input provides standard error in functionality.
This node runs normally even if an error occurred before this node runs.
|error out contains error information. This output provides standard error out functionality.|
LabVIEW automatically destroys all motion interface objects that are created with the Create Motion Reference VI when the top-level VI finishes running. However, National Instruments recommends that you destroy motion references explicitly with the Destroy Motion Reference VI, especially in a long-running application, to conserve memory resources. A motion resource reference remains in memory as long as the following conditions are met:
|Note Destroying a SoftMotion Reference while trying
to perform an operation on that reference can result in unexpected behaviour.
Refer to examples\Motion\PropertyNodes for examples using the Destroy Motion Reference VI.