Re: testing a serial port

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Si Ballenger (shb*NO*SPAM*_at_comporium.net)
Date: 10/13/04


Date: Wed, 13 Oct 2004 06:57:10 GMT

On Mon, 11 Oct 2004 23:48:11 -0400, "Eric Renken"
<ericrenken@msn.com> wrote:

>The easiest way is to use HyperTerminal, open HyperTerminal and connect
>directly to the COM port. If you have a serial modem you can connect to it,
>you should be able to at ATI4 and hit enter and get information back. If
>you don't have anything to connect to the COM port all you can really test
>is if you can open it. There are some loopback devices you can purchase and
>this would basically send back to you anything you send out.
>
>--
>Eric Renken
>Microsoft Associate Expert.
>Expert Zone
>http://www.microsoft.com/windowsxp/expertzone/
>
>
>
>"Donny" <Donny@discussions.microsoft.com> wrote in message
>news:338FDCB2-9A64-4A6B-B764-0064D66C3DE1@microsoft.com...
>> how many ways can i test if a serial port is working or not?

You could try the below batch file and see if an error gets
returned. No error probably means that windows recognizes a com1
port on your computer. You can also connect a volt meter with a
diode to the TX pin (#3 on a D-9 jack) and see if it deflects
towards 10v when you run the batch file (connect the meter + lead
to pin 3 and the - lead to pin 5).

@echo off
echo aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa >com1
pause



Relevant Pages

  • Dial Up Library
    ... this device was not planned to have RS232 Port ... so WinCe is not prepared to use it. ... But Now, I want to use a Serial Modem to conect to Internet, but the native ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: testing a serial port
    ... directly to the COM port. ... If you have a serial modem you can connect to it, ... There are some loopback devices you can purchase and ... Microsoft Associate Expert. ...
    (microsoft.public.windowsxp.general)
  • Re: [opensuse] Open Suse 10.3 64bit Hardware Compatibility "problem"
    ... Com Port that is supported by OpenSuse 10.3 (so I can use an External ... Serial Modem) ... I bought a 6-port serial card not long ago - obviously I can't guarantee ...
    (SuSE)
  • Re: [patch -mm 20/20 RFC] chardev: GPIO for SCx200 & PC-8736x: add sysfs-GPIO interf
    ... We need a standard rep for GPIO in sysfs, ... GPIO hardware design appears to have 2 top-level factors; ... change will also exhibit in the port attr too. ... if a pin is output only, it shouldnt have an _output_enabled attr. ...
    (Linux-Kernel)
  • Re: OT: DOS programming EPP
    ... There seems to be *no* specifications or equivalent circuits for the parallel port as implemented on the ASICs used in modern PCs. ... it is completely unknown as to the maximum safe sink current to a logic low pin or the maximum source current from a logic high pin. ... The EPP page assumes you did. ... CONTROL bit 5 defaults low. ...
    (sci.electronics.design)