Re: telnet to Cognex In-Sight 4001 camera

2013-02-25 Thread Roy Smith
In article <71787193-b4aa-438f-a8f1-058873346...@googlegroups.com>, chris.an...@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 a

Re: telnet to Cognex In-Sight 4001 camera

2013-02-25 Thread chris . annin
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 camer

Re: telnet to Cognex In-Sight 4001 camera

2013-02-25 Thread chris . annin
On Monday, February 25, 2013 1:15:54 PM UTC-8, MRAB wrote: > On 2013-02-25 20:27, Chris Annin wrote: > > > Ive tried: read_until("Login: "), read_until("User: ") and read_all() > > > all 3 ways return the same thing: "Welcome to In-Sight(R) 4001 Session > > > 1\r\nUser:" > > > > > [snip] > >

Re: telnet to Cognex In-Sight 4001 camera

2013-02-25 Thread MRAB
On 2013-02-25 20:27, Chris Annin wrote: Ive tried: read_until("Login: "), read_until("User: ") and read_all() all 3 ways return the same thing: "Welcome to In-Sight(R) 4001 Session 1\r\nUser:" [snip] Does the returned string end exactly with "User:" (no space at the end)? I ask because you're a

Re: telnet to Cognex In-Sight 4001 camera

2013-02-25 Thread Chris Annin
Sent from a Galaxy far, far away > > > ---- Original message ---- > From: chris.an...@gmail.com > Date: > To: python-list@python.org > Subject: telnet to Cognex In-Sight 4001 camera > > > Hello, ive been struggling with this for a couple weeks now and was >

Re: telnet to Cognex In-Sight 4001 camera

2013-02-25 Thread square.steve
Date: To: comp.lang.pyt...@googlegroups.com Cc: chris.an...@gmail.com,python-list@python.org,"square.steve" Subject: Re: telnet to Cognex In-Sight 4001 camera yes, ive connected successfully using hyperterminal after I login it asks for user and I type admin press enter then it ask for password

Re: telnet to Cognex In-Sight 4001 camera

2013-02-25 Thread chris . annin
On Monday, February 25, 2013 9:29:54 AM UTC-8, MRAB wrote: > On 2013-02-25 17:02, chris.an...@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 v

Re: telnet to Cognex In-Sight 4001 camera

2013-02-25 Thread chris . annin
t; > Steve > > > > Sent from a Galaxy far, far away > > > Original message > From: chris...@gmail.com > Date: > To: pytho...@python.org > Subject: telnet to Cognex In-Sight 4001 camera > > > Hello,  ive been struggling

Re: telnet to Cognex In-Sight 4001 camera

2013-02-25 Thread square.steve
: chris.an...@gmail.com Date: To: python-list@python.org Subject: telnet to Cognex In-Sight 4001 camera 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

Re: telnet to Cognex In-Sight 4001 camera

2013-02-25 Thread MRAB
On 2013-02-25 17:02, chris.an...@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

telnet to Cognex In-Sight 4001 camera

2013-02-25 Thread chris . annin
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