Groups | Search | Server Info | Login | Register


Groups > comp.protocols.kermit.misc > #19

Re: Sending from script to serial port in K95g

Newsgroups comp.protocols.kermit.misc
References <ac6a22fb-ae6d-48d1-8000-eca0aad5b2a0@a31g2000pre.googlegroups.com>
Organization Gizmos & Gadgets, Ltd.
Subject Re: Sending from script to serial port in K95g
From bonomi@host122.r-bonomi.com (Robert Bonomi)
Message-ID <B5-dnYFaV_S7GXrTnZ2dnUVZ_u6dnZ2d@posted.nuvoxcommunications> (permalink)
Date 2011-12-13 10:58 -0600

Show all headers | View raw


In article <ac6a22fb-ae6d-48d1-8000-eca0aad5b2a0@a31g2000pre.googlegroups.com>,
John  <jhw1309@gmail.com> wrote:
>The following is a partial script I developed under Windows XP to set
>up a ham radio
>Terminal Network Controller (tnc). It works under XP. I'm trying to
>use the same USB serial
>dongle on a new machine running Windows 7 Home Premium. Under W7, the
>script outputs gibberish to the tnc. If I type the lineout commands
>one at a time,
>at the Kermit prompt, the commands go to the tnc and it responds
>correctly. But
>the same lineout commands running in the script result in gibberish.
>The same
>thing happens with two very dissimilar tncs (A Kenwood TM-D700A and an
>AEA
>PK-232MBX; if you don't recognize the tnc, don't worry about it. I
>can't imagine
>that's where the problem could be.) Any Kermit gurus have an idea why
>this would be?

Some obvious things to try.
  1) turn on _complete_ logging, 
     *show* the log results of 'doing things manually'  where it works
     AND the  results  of the scripted run, where things are garbled.
     (in both cases, show -everything- from the beginning of the session.
      what happens -before- the problem shows up is significant_
  2) see what happens with just a -single- command to the TNC where the 
     string of 'telltnc' calls is?
  3) try a 'sleep 1' after every lineout, and/or 'telltnc'

>The serial port is a USB dongle with the Prolific innards, using the
>latest driver.

Back to comp.protocols.kermit.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Sending from script to serial port in K95g John <jhw1309@gmail.com> - 2011-12-11 09:57 -0800
  Re: Sending from script to serial port in K95g bonomi@host122.r-bonomi.com (Robert Bonomi) - 2011-12-13 10:58 -0600
  Re: Sending from script to serial port in K95g Edward Berner <erb@bernerfam.com> - 2011-12-28 14:25 -0800

csiph-web