Category: 

What is a Loopback Test?

Article Details
  • Written By: Kurt Inman
  • Edited By: Lauren Fritsky
  • Last Modified Date: 10 November 2016
  • Copyright Protected:
    2003-2016
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
Helium is the only element that was discovered in space before it was found on Earth.  more...

December 10 ,  1948 :  The UN adopted the Universal Declaration on Human Rights.  more...

A loopback test is a simple method to determine whether communication circuits are functioning at a basic level. It often involves connecting a loopback device to a circuit and verifying that transmitted data returns to the sender. Loopback testing is commonly performed on serial, network and telephone links. Technicians use this method to quickly test whether data ports, cables and connections are working.

Performing a loopback test is generally a multi-step process. For example, a loopback device may be attached directly to a computer's serial port. If data is sent and then received on that same port successfully, it is likely that it is functioning correctly. The loopback device can then be moved to the end of a cable attached to the port, and data can be sent again. If that passes, the cable is probably working correctly, and the device can be moved further along the link for more testing.

The loopback device can be as simple as a wire routing the transmit-data line to the receive-data line. The simplest form of a Recommended Standard (RS) 232 serial loopback test can be done this way using a standard serial connector. A more thorough test can be performed by adding a few hardware handshaking signals to the connection. For example, the Clear To Send (CTS) line can be wired to the Request To Send (RTS) line. The Data Terminal Ready (DTR) line should also be wired to the Data Set Ready (DSR) line.

Ad

RS 422 serial connections were used on AppleĀ® computers prior to the adoption of the Universal Serial Bus (USB). RS 422 and RS 485 use a pair of differential signals for transmit-data and another pair for receive-data. The CTS and RTS hardware handshaking signals are also paired in this manner. Each of these pairs must be connected to their corresponding pairs for a loopback test. For example, the positive transmit-data line connects to the positive receive-data line and the negative to negative.

An Ethernet loopback test can be performed with a similar connection of data lines. The positive transmit-data line is wired to the positive receive-data line. The negative data lines are routed in the same way. These connections are often wired on a customized Registered Jack 45 (RJ45) jack or port. Other network standards such as Bell Labs T-carrier 1 (T1) and Gigabit Ethernet can be tested with a similar cabling.

More complex network loopback testers are also available that are more like stripped-down protocol analyzers. In addition to the basic loopback test, this type of analyzer also checks signal quality, data loss and similar characteristics. Many Information Technology (IT) workers use these devices in the daily monitoring of their networks.

Ad

You might also Like

Recommended

Discuss this Article

Post your comments

Post Anonymously

Login

username
password
forgot password?

Register

username
password
confirm
email