SH Write.vi

'SH Write.vi' connector pane

SH Write.vi connector pane

Description

Write characters to shell channel.

Shell channel must have been initialized by calling SH Request.vi.

Inputs

cu64 LabSSH Session

Required:Yes

SSH session refnum.

cstr Data

Character data to write to shell instance.

Note

When executing commands on a remote shell, it is usually necessary to append a carriage return character cr in order to have the server execute the command. LabSSH does not automatically append carriage returns to this input.

Examples:
cat foo.txt
ls
uname -a

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.

ci32 Timeout msec

Required:No
Default:5000

Amount of time in milliseconds to wait for a response from remote host before a timeout error occurs.

Outputs

iu64 LabSSH Session Out

Duplicate SSH session refnum.

iu32 Byte Count

Total number of bytes written.

ierrcodeclst error out

Error (if any) resulting from this VI call.