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?
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).
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
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.