Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #39920

Re: telnet to Cognex In-Sight 4001 camera

From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: telnet to Cognex In-Sight 4001 camera
Date 2013-02-25 20:44 -0500
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <roy-076098.20441925022013@news.panix.com> (permalink)
References <d0462043-2195-4272-b13d-fd04d1d87695@googlegroups.com> <71787193-b4aa-438f-a8f1-058873346e27@googlegroups.com>

Show all headers | View raw


In article <71787193-b4aa-438f-a8f1-058873346e27@googlegroups.com>,
 chris.annin@gmail.com wrote:

> On Monday, February 25, 2013 9:02:54 AM UTC-8, chris...@gmail.com wrote:
> > Hello,  ive been struggling with this for a couple weeks now and was hoping 
> > someone might be able to help.  I have an older Cognex camera that I need 
> > to communicate with via telnet.  I can get a response from the camera when 
> > I initiate a telnet session but I dont seem to get any response when I 
> > write the user name to the camera -  I havnt been able to get any response 
> > writing anything.

Two suggestions I can make.

One is to use the command-line telnet utility to talk to the camera.  
Verify that you can at least make a connection and authenticate that way.

Second, use a packet sniffer to watch the actual traffic going back and 
forth to the camera.  On a Unix box, I would do:

$ tcpdump -s 0 -A host 10.31.18.21

but it looks like you're on windows, so you'll want to use Wireshark 
(http://www.wireshark.org/) instead of tcpdump.  If you're not familiar 
with TCP protocol details, you'll want to read up on it so you can 
properly interpret what tcpdump or Wireshark is telling you.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

telnet to Cognex In-Sight 4001 camera chris.annin@gmail.com - 2013-02-25 09:02 -0800
  Re: telnet to Cognex In-Sight 4001 camera MRAB <python@mrabarnett.plus.com> - 2013-02-25 17:29 +0000
    Re: telnet to Cognex In-Sight 4001 camera chris.annin@gmail.com - 2013-02-25 11:48 -0800
    Re: telnet to Cognex In-Sight 4001 camera chris.annin@gmail.com - 2013-02-25 11:48 -0800
  Re: telnet to Cognex In-Sight 4001 camera chris.annin@gmail.com - 2013-02-25 17:16 -0800
    Re: telnet to Cognex In-Sight 4001 camera Roy Smith <roy@panix.com> - 2013-02-25 20:44 -0500

csiph-web