LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

InetTelnetOpen timeout

The InetTelnetOpen function works great through a VPN connection from my home to my work. Since I am travelling abroad I discovered that this function is timing out as follows. If I use a telet application I am able to connect, but Labwindows is failing to connect.
 
 NON-FATAL RUN-TIME ERROR:   "InputOutput.c", line 2068, col 42, thread id 0x00000D08:   Function InetTelnetOpen: (return value == -22 [0xffffffea]). Cannot connect to telnet server
Regards, JamesA
0 Kudos
Message 1 of 2
(3,253 Views)
Howdy James,

I believe you emailed in the yesterday regarding timeouts for that InetTelnetOpen() function. I replied back to you mentioned that we don't give customer access to that timeout feature but you could always make a product suggestion at www.ni.com >> Contact NI >> Product Feedback.

Since Telnet actually communicates to TCP directly, you could use the TCP functions instead. Here is a link to the example
Telnet using the CVI TCP libraries.

As far as your current issue, can you communicate to the telnet server via our shipping example telnet.prj (Help >> Find Examples; Select the Browse tab and navigate to Networking >> Internet & Web)?

Can you use the example I linked to communicate or do you receive problems as well?

What about when you use the LaunchExectuableEx() method to launch telnet? Do you have problems using this method?

Since you are traveling abroad, I will go ahead and use the discussion forums as the best method of communication verse the email.

Thanks

Best Regards,

Jonathan N.
National Instruments
0 Kudos
Message 2 of 2
(3,234 Views)