LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

telnet by labview

Do u know how to program LabVIEW to telnet? I want to write a labview program for automatically setting an Access Point. To set an Access Point manually I have to telnet, then enter user name and password, if the password is correct then I can get in and set some parameter of the access point by typing some command in the dos. How can I do this kind of interaction by using labview?

thank you
0 Kudos
Message 1 of 6
(3,855 Views)
Hi,

You can use TCP/IP VIs to establish a communication (Telnet default uses TCP port 23). Or another way is to purchase the Internet Toolkit for LabVIEW, which includes all the telnet communication VIs and more (such as FTP, CGI, HTTP, etc).

Hope this helps,
Dan
0 Kudos
Message 2 of 6
(3,838 Views)
Hi there

under Windows you can use the HyperTerminal to establish a Telnet-Session. You can open it with SystemExec.vi:

hypertrm.exe /t [:]

hypertrm.exe can be found in



best regards
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 3 of 6
(3,823 Views)
whowww,

html got me....

thats the correct call:

hypertrm.exe /t Telnet-Address[:Port]


best regards
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 4 of 6
(3,823 Views)
I tried the hypertrm commmand (hypertrm.exe /t 192.168.3.50[23]) it doesn't work. I got the error said

Error2 occured at system exec.vi. Command was "hypertrm.exe /t 192.168.3.50 [23]" Possible reason(s) : LabVIEW: Memory is full. NI-488:write detected no listeners.

I really don't know how I would write a program using TCP/IP call. I opened up the TCP example that comes with labview (tcp communicator active.vi and tcp communicator passive.vi) and change the ip to the ip i want to telnet to and port to 23. It doesn't work too.

I am not sure if the connection is not made because I didn't have any chance to type in user name and password (so I didn't get authenticated). Do u have any idea how to do it?
thank you
0 Kudos
Message 5 of 6
(3,806 Views)
Hi Irene,

You probably didn't specify the right "working directory" for "System Exec.vi". Please see my attached image for the solution to call HyperTerminal without errors.
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 6 of 6
(3,785 Views)