[IGSTK-Developers] Loopback test

Patrick Cheng cheng at isis.georgetown.edu
Fri Mar 10 19:18:27 EST 2006


Hi Luis,

Where to set the "Flow Control" option?

Patrick

Luis Ibanez wrote:
> Hi Patrick,
> 
> Here is the wiring that I'm using in
> the Loopback device installed in Zion:
> 
> a)  1====4====6
> b)  2====3
> c)  7====8
> 
> This looks the same as the one that you posted
> in your email.
> 
> In  Linux we tested the device by just opening
> two terminals and doing:
> 
>      a)   cat  /dev/ttyS0  (in one terminal)
>      b)   ls -R  /  > /dev/ttyS0  (on the other terminal)
> 
> You should see text appearing in the first terminal.
> 
> 
> Notice that since the serial port is buffered, you may
> not see any output if you just send a couple of words.
> You may have to send more that some Kb of text to make
> sure that the serial port buffer if flushed and you
> actually see something in the other side.
> 
> This being said. The IGSTK test is failing in Zion,
> and we have never been able to connect to the Polaris
> from the Linux machine.
> 
> I just tested the same device on my Windows laptop,
> using the Hyperterminal test that you posted, and it
> works fine for me. That is, when the loopback device
> is connected, I see the text that I'm typing, and
> when the device is remove, I don't see the text that
> I'm typing.
> 
> Did you selected "Flow control" to "None"  ??
> 
> 
> 
>    Luis
> 
> 
> 
> ---------------------
> Patrick Cheng wrote:
>> Hi everyone,
>>
>> I just made a loopback device and plug it into the windows machine 
>> here, and it turned out that the SerialCommunicationTest failed too.
>> http://public.kitware.com/IGSTK/Sites/build02.isis/Win32-IGSTK-VS71-Debug-Loopback/20060310-0430-Nightly/Test.html 
>>
>>
>> I followed the wiring instruction in the attached picture. and I try 
>> to use a windows program to test if this loopback device is working.
>>
>> Start -> All Programs -> Accessories -> Communications -> Hyper Terminal
>>
>> I followed the test under this link:
>> http://zone.ni.com/devzone/conceptd.nsf/webmain/D48BA43C59B60277862569EE000501FD 
>>
>>
>> Quote, "You will see the terminal window as shown below. If your 
>> serial port is working and the loopback cable is properly connected, 
>> the text you type appears in the window. If you remove the cable and 
>> type text, it should not appear in this window. If this test behaves 
>> differently than described here, see the troubleshooting advice at the 
>> end of this section. "
>>
>> I don't see the text when I am typing, so I guess the loopback is not 
>> being set up correctly, I don't know if this is the same situation on 
>> Zion-Loopback machine.
>>
>> Am I doing the wring right? or it's a contact miss problem?
>>
>> Patrick
>>
>> ------------------------------------------------------------------------
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> IGSTK-Developers mailing list
>> IGSTK-Developers at public.kitware.com
>> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers
> 
> 
> 
> 

-- 
Patrick Cheng                              Work phone: 202-687-2902
Software Engineer                          Work fax:   202-784-3479
Email: cheng at isis.georgetown.edu

Imaging Science and Information Systems (ISIS) Center
Department of Radiology, Georgetown University Medical Center
2115 Wisconsin Avenue, Suite 603, Washington, DC, 20007



More information about the IGSTK-Developers mailing list