⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 loopback.txt

📁 在VB中实现通讯的例子
💻 TXT
字号:
*** Making a loopback adapter ***

A loopback adapter can easily be made from a female-female adapter. Orient
the female-female adapter such that the widest part is facing up. Connect
pins 2 and 3 together with a short piece of wire as shown below.

In order to test the DTR & DSR lines, connect the DTR pin to the DSR pin. 
Similiarly, connect the RTS pin to the CTS pin to test the DTS & CTS lines.

The diagram below shows the recommended connections:


                    Female DB 25                        Female DB 9
      *****************************************      *****************
     * 13 12 11 10  9  8  7  6  5==4  3==2  1  *    *  5  4  3==2  1  *
      *   25 24 23 22 21 20 19 18 17 16 15 14 *      *   9  8==7  6  *
       ***************************************        ***************


          DB 25   DB 9    Pin Definition
          =====   ====    ==============
           7       5      Signal Ground (SG)
           2       3      Transmit Data (TD)
           3       2      Receive Data (RD)
          20       4      Data Terminal Ready (DTR)
           6       6      Data Set Ready (DSR)
           4       7      Request to Send (RTS)
           5       8      Clear to Send (CTS)
           8       1      Carrier Detect (CD)

Note: The pin positions are reversed for male connectors.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -