LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Difficulty using Internet Toolkit telnet VIs

Hello:

 

I'm having some issues (hopefully easily remedied) with using the telnet VIs to interface with a simple command/reply device.  I fear that some subtle detail is eluding me.

 

I can use the telnet interface w/in a dos prompt with great success, but when I try to use the Telnet Line Client example VI, the connection apparently does not pass commands nor receive replies.  I'm using the same IP and port, of course.  The example VI supposedly establishes a session, because I don't get an error until I get in the while loop.  Well, it's the warning saying that the telnet read VI has timed out.   

 

Commands I send with the appropriate termination character never seem to get to the device.  Could I have some endian issue?  Wrong protocol?  I must admit I have no prior experience using Telnet communications. 

 

I hope I've been clear... Thanks in advance for any help!!!

-Derek

0 Kudos
Message 1 of 2
(2,746 Views)

Howdy Derek,

 

I tested this VI on our end and I'm curious what port you are using.  Also, are you still getting the error if you simply open a session, write a telnet command, and close the session?  The main functionality of this example is actually not the telnet communication, but rather updating the window as various commands are written and read.  I'd like to test a simpler method of just writing communication to your server.  That way we can determine if it is your server or the program.  

 

I look forward to hearing your results!

Sincerely,

Chris G in AE
0 Kudos
Message 2 of 2
(2,712 Views)