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
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
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]
>
>
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
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:"
then I put in:
tn.write("admin\r\n")
or
tn.write(USER + "\r\n")
or
tn.write(USER + "\r")
or
tn.write(USER + "\n")
Ive tried every combination
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
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
yes, ive connected successfully using hyperterminal after I login it asks for
user and I type admin press enter then it ask for password and type password
press enter and it all works fine. using python ive tried ending both with "\n"
and "\r\n" im thoroughly confused
On Monday, February
At the risk of stating the blindingly obvious, have you run a 'real' telnet
session to see what a successful conversation looks like? Might give you some
useful pointers for your debug session.
Steve
Sent from a Galaxy far, far away
Original message
From: chris.an...@gm
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
10 matches
Mail list logo