Destroy VI

Owning Palette: Channel

Requires: LIBSSH2

Deallocates, or frees, the memory allocated for the libssh2lv shared library Channel struct represented by this Channel object. After this is called, the object can no longer be used in the application without causing a segmentation fault, i.e. crashing LabVIEW. This VI must be called to avoid leaking memory or running Out-of-Memory (OOM) on resource-constrained systems.

Destroy VI

Listener

Passes through the Listener and destroys this Channel object.

Listener

iToolkit_lvlib_ListenerlvclassListener Out is the same object from Listener In.
cToolkit_lvlib_ListenerlvclassListener In represents a libssh2lv shared library Listener struct.
cToolkit_lvlib_ChannellvclassChannel represents a libssh2lv shared library Channel struct.
ierrcodeclstError Out contains error information. This provides standard error out functionality.

Right-click the Error Out indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

cerrcodeclstError In describes error conditions that occur before this node runs. This input provides standard error in functionality.

Right-click the Error In indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

Session

Destroys this Channel object and returns the Session object used to originally create it.

Session

iToolkit_lvlib_SessionlvclassSession represents the same libssh2 library Session struct used to create this Channel object from Channel.
cToolkit_lvlib_ChannellvclassChannel represents a libssh2lv shared library Channel struct.
ierrcodeclstError Out contains error information. This provides standard error out functionality.

Right-click the Error Out indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

cerrcodeclstError In describes error conditions that occur before this node runs. This input provides standard error in functionality.

Right-click the Error In indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.