Get Open Sessions.vi

'New Session.vi' connector pane

New Session.vi connector pane

Description

Retrieve all authenticated SSH sessions.

Changed in version 2.6.1: BUGFIX: returns invalid session numbers if the session number is > 2^32-1, or larger than what a 32-bit number can hold.

Changed in version 2.6.1: BUGFIX: failure to parse the output of the DLL call if there are 3 or more open sessions.

Inputs

cerrcodeclst error in

Required:No
Default:No Error

Incoming error from previous VI call. Is passed through to error out.

Warning

LabVIEW will not execute Call Library Function Node if there is an error present on the wire. Ensure that there is no error prior to calling this VI – unexpected behavior will occur.

Outputs

ii32 Open Session Count

Total number of authenticated SSH sessions.

i1dcclst Array of Sessions

Array of session information clusters, where each element represents an authenticated SSH session.

Elements:

icclst Session Cluster

Cluster containing a session name and a session refnum.

Members:

istr Session Name
Name of the SSH session in the format username@host.
iu64 LabSSH Session
SSH session refnum.

ierrcodeclst error out

Error (if any) resulting from this VI call.