LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to control Telnet timeout

Hi,

 

In my application I'm using Telnet protocol.

 

I noticed that when I'm trying to read data using the Telnet read.vi the timeout is not the timeout I specify, rather it looks like it's exactly twice the number of ms I specify. The Read operation I perform respond differently so I must understand how to control the timeout.

 

In the attached example vi I open a telnet session, reads the response and then closes the session.

Although a 5000ms timeout is specified the actual timeout of the read operation is about 10000 ms (between the 2 breakpoints).

 

Is this some kind of bug or am I missing something ?

 

Can anyone help ?

0 Kudos
Message 1 of 3
(2,739 Views)

Hi Mentos,

 

You are correct in saying it is a bug. This is a known issue in LabVIEW (~twice the timeout you set). R&D is aware of it, CAR 51523.

Message Edited by JeffL on 2009-08-27 01:29 PM
Jeff | LabVIEW Software Engineer
0 Kudos
Message 2 of 3
(2,718 Views)

OK,

 

As long as I know I'm not doing anything wrong on my side I can take care of it.

 

Thank you.

0 Kudos
Message 3 of 3
(2,695 Views)