Moxa-technologies THINKCORE W341 Uživatelský manuál Strana 25

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 104
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 24
ThinkCore W311/321/341 Linux User’s Manual Getting Started
2-16
Testing Environment
The tcps2 example demonstrates a simple application program that delivers transparent,
bi-directional data transmission between the W311/321/341’s serial and Ethernet ports. As
illustrated in the following figure, the purpose of this application is to transfer data between PC 1
and the W311/321/341 through an RS-232 connection. At the remote site, data can be transferred
between the W311/321/341’s Ethernet port and PC 2 over an Ethernet connection.
Write data to PC1
Receive LAN data
Read serial data
Send data to PC2
tcps2.c
Serial Rx
Buffer
LAN Rx
Buffer
RS-232 LAN
PC 2PC 1
Zobrazit stránku 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 103 104

Komentáře k této Příručce

Žádné komentáře