LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SSH sous Labview 2021 SP1

Hello,

 

i am trying to communicate with my motor controler  with the SSH protocol,  Windows 10 64bits and Labview 2021 SP1 32bits.

i am trying to reproduce what i manage to do with the Windows Terminal as shown in the screenshot attached. ( snip paste in my code window as reference only) 

 

it seems i reached the answer "STDIN open for ascii input"  reply.

but i do not manage to send to command or read an anwser  :  here for example with Motor[1].jogspeed  i am expecting a 64 bits number as an anwser.

 

20240305_114043.jpg

 

do you have any suggestion for me to test ?

 

thank you

Emmanuel

 

0 Kudos
Message 1 of 3
(375 Views)

The problem with NI's current SSH solution is that it is a single transaction and then it is done.  What I did was use an open-source .NET library to handle an SSH session.  I then wrapped this library around a class.  It works quite well for me.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(319 Views)

hello,

thank you

sounds a bit more complicated than i tough and hoped;

anyway , do you have an example to share ?

 

TAHNK YOU

 

Emmanuel

0 Kudos
Message 3 of 3
(317 Views)