Difference between revisions of "Advanced Tubular Loopback Tester Software"

From ATTWiki
Jump to: navigation, search
Line 2: Line 2:
  
 
<br><br>
 
<br><br>
 +
 +
==Loopback Wiring==
  
 
<table cellpadding=10>
 
<table cellpadding=10>
Line 34: Line 36:
  
 
We also use this software to test our Benderlink Ethernet Modules.  You can download and use this software for testing the modules also.  Here are a few images showing various states of the Loopback Tester software in action.
 
We also use this software to test our Benderlink Ethernet Modules.  You can download and use this software for testing the modules also.  Here are a few images showing various states of the Loopback Tester software in action.
 +
 +
==Loopback Complete Success==
  
 
<table>
 
<table>
 
<tr>
 
<tr>
<td width=200>This screen shows all the controls illuminated at the same time.  As the loopback "passes" the test, the Pass bars gets longer and the Failure bars gets shorter.</td>
+
<td width=200>This screen shows all six lines are working.</td>
<td>[[image:loopback_passfail.jpg]]</td>
+
<td>[[image:loopback_passx3.jpg]]</td>
 
</tr>
 
</tr>
  
 +
</table>
 +
 +
==Loopback Partial Success==
 +
 +
<table>
 
<tr>
 
<tr>
<td width=200>This screen shows both the transmit/receive and Request to Send (RTS) and Clear to Send (CTS)pins passing</td>
+
<td width=200>This screen shows that the TX-RX and RTS-CTS lines are good.  However, the DTR-DSR lines show a disconnect.  The total failure count is shown in the green LED text on the right.</td>
<td>[[image:loopback_passx3.jpg]]</td>
+
<td>[[image:loopback_passfail.jpg]]</td>
 
</tr>
 
</tr>
 +
</table>
  
 +
==Testing for Roundtrip Speed (or Latency)==
 +
 +
<table>
 +
<tr>
 +
<td width=200>It is possible to test the latency of the TX-RX lines.  This test is run every time the loopback is running.  The test is thorough because it sends 128 unique characters, but only checks for the return time of one of the characters.  In order to complete a latency test, that unique character must eventually come back to the loopback software.<br><br>
 +
The most accurate way to test for TX-RX latency is to only test for the TX-RX lines like shown in this image.</td>
 +
<td>[[image:loopback_passx1.jpg]]</td>
 +
</tr>
 
</table>
 
</table>
 +
  
 
[[image:loopback_passx2.jpg]]<br>
 
[[image:loopback_passx2.jpg]]<br>
 
[[image:loopback_failx2.jpg]]<br>
 
[[image:loopback_failx2.jpg]]<br>
 
[[image:loopback_passx1.jpg]]<br>
 
[[image:loopback_passx1.jpg]]<br>

Revision as of 18:30, 29 August 2009

The Loopback Tester software is designed to allow you to test RS-232 cables and connectors with only one computer using a loopback connector. A "loopback connector" is a serial connector usually in DB9 form that loops various signals received in the connector back to the signals normally sent out from other computers. This is how the loopback connector is wired:



Contents

Loopback Wiring

INCOMING Signals OUTGOING Signals
The RX (Receive pin) is jumped to the TX (Send pin)
The CTS (Clear to Send pin) is jumped to the RTS (Request to Send pin)
In many loopback connectors, the DSR (Data Set Ready) and DCD (Carrier Detect) are jumped to the DTR (Data Terminal Ready)



This forms a complete circuit for testing the original COM port, and all the important connectors and cable in between.

We also use this software to test our Benderlink Ethernet Modules. You can download and use this software for testing the modules also. Here are a few images showing various states of the Loopback Tester software in action.

Loopback Complete Success

This screen shows all six lines are working. Loopback passx3.jpg

Loopback Partial Success

This screen shows that the TX-RX and RTS-CTS lines are good. However, the DTR-DSR lines show a disconnect. The total failure count is shown in the green LED text on the right. Loopback passfail.jpg

Testing for Roundtrip Speed (or Latency)

It is possible to test the latency of the TX-RX lines. This test is run every time the loopback is running. The test is thorough because it sends 128 unique characters, but only checks for the return time of one of the characters. In order to complete a latency test, that unique character must eventually come back to the loopback software.

The most accurate way to test for TX-RX latency is to only test for the TX-RX lines like shown in this image.
Loopback passx1.jpg


Loopback passx2.jpg
Loopback failx2.jpg
Loopback passx1.jpg