Port Serial
Port Serial

how do you read ASCII code from serial port using c and writing it to a file?
I am trying to figure out how to read ASCII code from a serial port using C language and write it to a text file. Any ideas on how to do this, maybe some web links to examples, etc. anything will help.
Check this out for DOS using Turbo C:
http://www.beyondlogic.org/serial/serial.htm
This is for the linux/unix environment:
http://www.experts-exchange.com/Programming/Languages/C/Q_20953596.html
|
|
COMTROL 30005-2 ROCKETPORT INFINITY QUAD DB9M 4 PORT SERIAL PCI-X $284.75 |
|
|
Syba PCI to 1x DB-9 RS232 Serial I/O Port Controller Card Adapter SY-PCI15003 $9.99 |
|
|
COMTROL 30005-2 ROCKETPORT INFINITY QUAD DB9M 4 PORT SERIAL PCI-X $284.75 |
|
|
PCI-Express to 2 Ports Serial Rs232 Rs-232 COM + 1 Parallel LPT Adapter Card $19.29 |
|
|
Digi AccelePort Xp 2 Port DB-9 Serial Adapter 50000703 $49.99 |
|
|
Sonnet TEMPO TSATAII-E4P SATA E4P 4 Port Serial ATA Controller -PCI Express x4 $199.00 |
|
|
StarTech.com 4 Port USB to RS232 Serial DB9 Adapter Hub - Serial adapt ICUSB2324 $74.99 |
|
|
Digi 70001946 DIGI NEO PCI 4 PORT RS232 SERIAL CARD FAN OUT CABLE $250.31 |
|
|
990305 Equinox (Avocent) PCI Serial I/O SST-128P Port Adapter (SST128P) $350.00 |
|
|
22P4471 IBM PCI Serial I/O SST128P Port Adapter Card $350.00 |
|
|
22P4927 IBM Serial I/O SST128P Port Adapter Card $350.00 |
|
|
37L1416 IBM PCI Serial I/O SST-128P Port Adapter Card 5V $350.00 |
|
|
37L1429 IBM PCI Serial I/O SST128P Port Adapter Card 32-Bit $350.00 |
|
|
37L1457 IBM PCI Serial I/O SST128P Port Adapter Card $350.00 |
|
|
950257-1 Equinox (Avocent) PCI Serial IO SST-128P Port Adapter (9502571 SST128P) $350.00 |
|
|
SIIG single port serial pc card JJ-PCM012 IO1037 NIB sealed $32.00 |
|
|
Digi Edgeport 2 - Serial adapter - USB - RS-232 - 2 ports 301-1000-02 $149.99 |
|
|
Cisco HWIC 2-Port Serial WAN Interfa MPN: HWIC-2T= $487.99 |
|
|
PCI-Bus High-Speed Single Serial Port / Model: I01829 Cyberserial PCI New! $15.00 |
|
|
2 Port SATA SERIAL ATA IDE PCI CONTROLLER RAID I/O CAR $20.99 |
|
|
NEW Genuine MOXA CP-102U 2-port RS-232 smart PCI serial boards - UP158 $114.29 |
|
|
HP COMPAQ NC6220 SERIAL PORT + CABLE $7.99 |
|
|
Syba SY-PCI50009 Combo 2 DB9 Serial RS-232+DB25 LPT1 Port PCI Controller Card $16.69 |
|
|
Siig - JJ-P20511-S3 IO Card 2Ports 9Pin Serial 550 PCI $35.58 |
|
|
Cisco WIC-1T 1-Port Serial WAN Expansion Interface Card $0.99 |
|
|
IC Intracom - 158169 2-Ports Serial PCI Express Card $50.57 |
|
|
37L1471 IBM 16-Port Port Module Serial I/O $220.00 |
|
|
Low Profile PCI Serial RS-232 Card, 2 Port Serial PCI $45.33 |
|
|
Serial ATA PCI Card 2 Port & 1 IDE NEWLINK SATA PATA $28.13 |
|
|
Black PCI RS232 9 Pin Serial Port 25 Pin Printer Parallel Port Card $16.81 |
|
|
Syba 1-Port DB-9 Serial(RS-232) PCI-express Controller Card SD-PEX15021 $17.59 |
|
|
Add 2 Serial (DB9, RS232) ports to PC w/ PCI Slot, low profile bracket included $11.99 |
|
|
Add 2 Serial & 1 Parallel ports to PC with PCI slot, fan Out cable RS232 Printer $15.99 |
|
|
Digi Ports/ 16EM DB25 16 port Serial Server $145.00 |
|
|
add a Serial (RS232 COM1 DB9) port to PC for invoice printer, scanner, PCIe Card $19.99 |
|
|
SIIG LP-P400H3-S6 LOW PROFILE 4-PORT SERIAL CARD PCI-BUS $9.99 |
|
|
* NEW SIIG PCI ADAPTER W/ TWO SERIAL & ONE PARALLEL PORT 2S1P JJ-P21111-S4 $19.95 |
|
|
NEW SIIG JJ-E10011-S3 CyberSerial 1-port PCI Express Serial Adapter $53.41 |
|
|
SYBA SK-LP-MCS2S PCI Low Profile 2-Port Serial DB-9 Card For Windows XP/Vista $18.89 |
|
|
Syba SD-LP-MCS1S LP 1Port Serial DB9 PCI Card Retail Low Profile Work Windows 7 $13.69 |
|
|
StarTech PCI8S950LP 8 Port Low Profile RS232 PCI Serial Card with 16950 UART $151.81 |
|
|
StarTech MPEX4S552 4 Port RS232 Mini PCI Express Serial Card w/ 16650 UART $97.49 |
|
|
Lava S Serial-PCI High Speed Com Port 16550 UART 9-Pin Plug&Play FreeFastShip NR $8.99 |
|
|
DB9 PCI to COM 9-pin Serial Port RS232 Expansion Controller Card Adapter C $4.75 |
|
|
PCIe 2 Port Ports 9-Pin Serial RS232 PCI-E Express Card - Fast Ship $19.99 |
|
|
SYBA SY-PCI15031 PCI to 2x DB-9 Serial (RS-232) Ports Controller Card [OEM] $12.39 |
|
|
I/O Crest SY-PCI15031 2-Port Serial PCI Controller Card $11.39 |
|
|
PCI Dual Serial Port I/O Cards (10 in the lot) $80.00 |
|
|
Adaptec AAR-1210SA Serial SATA RAID Controller 2 Ports $24.99 |
|
|
NEW StarTech.com 4 Port PCI Serial Adapter Card $43.86 |
|
|
Digi Classic Board 4 Port ISA Serial I/O Card & Cable RS-422 1P-50000622-01 $49.99 |
|
|
Best Connectivity SD-PEX15022 PCI-Express RS232 2x Serial Port MSC9901 Chipset $9.99 |
|
|
Digi 77000857 NEO PCI-X Universal 4-Port Multiport Serial Adapter $135.99 |
|
|
DB9 RS232 Serial DB25 Parallel Port Printer PCI PC Card $9.85 |
|
|
STARTECH PCI2S550 - .COM 2 PORT SERIAL PCI I/O CARD ADA $44.59 |
|
|
STARTECH PCI1S550 - .COM 1 PORT SERIAL PCI I/O CARD ADA $32.29 |
|
|
STARTECH ISA2S550 - .COM 2 PORT ISA SERIAL CARD ADAPTER $28.29 |
|
|
STARTECH PCI2S1P - .COM 2 SERIAL 1 PARALLEL PORT PCI CO $42.39 |
|
|
4-Port RS232 Serial PCI JJ-P04511-S1 $59.99 |
|
|
NEW PCI I/O Expansion 2 Serial Port RS232 Card UK $10.93 |
|
|
SIIG CyberSerial Dual Serial Port PCI IO Card JJ-P02012 Fast 16550 16 Byte Buffe $1.00 |
|
|
NEW PCI RS232 SERIAL DB9 4PORT COM CARD WORK WINDOWS 7 32/64BIT $28.00 |
|
|
5 Pcs DB9 9 Pin Serial Port Female COM Connector Socket $3.15 |
|
|
2 Pcs DB9 9P RS232 Serial Port Female Socket + Plastic $3.25 |
|
|
New Quatech USB to Serial Cable Adapter P/N SS-USB-100 Single RS-232 Port $24.28 |
|
|
Item image StarTech 2 Port Serial PCI Card PCI2S550 $12.60 |
|
|
Lava D-Serial-PCI 2 Port Adapter - 2 x 9-pin DB-9 RS-232 Serial $12.60 |
|
|
New in Box B&B Electonics 3PCISD1A PCI to Serial Port Computer Card $107.50 |
|
|
Digi AccelePort 4r 920 - Serial adapter - PCI - serial RS-232 - 4 ports 70001361 $550.99 |
|
|
DUAL PORT SERIAL CARD - PCI EXPRESS $31.33 |
|
|
B&B Electronics 422ICC ISA 1-Port RS-422/485 Serial Card w/16850 $106.76 |
|
|
Adaptec Dell AAR-2610SA/64MB Serial SATA RAID Controller Card 6 Ports $39.99 |
|
|
NEW SIIG 1-port PCI Express Serial Adapter - 1 x 9-pin $31.24 |
|
|
STARTECH PCI2S1P - .COM 2 SERIAL 1 PARALLEL PORT PCI CO $42.09 |
|
|
STARTECH PCI2S550 - .COM 2 PORT SERIAL PCI I/O CARD ADA $41.79 |
|
|
STARTECH PCI2S1P - .COM 2 SERIAL 1 PARALLEL PORT PCI CO $42.09 |
|
|
STARTECH ISA2S550 - .COM 2 PORT ISA SERIAL CARD ADAPTER $39.99 |
|
|
STARTECH PCI2S550 - .COM 2 PORT SERIAL PCI I/O CARD ADA $41.79 |
|
|
STARTECH PCI1S550 - .COM 1 PORT SERIAL PCI I/O CARD ADA $48.59 |
|
|
STARTECH ISA2S550 - .COM 2 PORT ISA SERIAL CARD ADAPTER $39.99 |
|
|
STARTECH PCI1S550 - .COM 1 PORT SERIAL PCI I/O CARD ADA $48.69 |
|
|
STARTECH PCI2S1P - .COM 2 SERIAL 1 PARALLEL PORT PCI CO $42.09 |
|
|
STARTECH PCI2S550 - .COM 2 PORT SERIAL PCI I/O CARD ADA $41.79 |
|
|
STARTECH ISA2S550 - .COM 2 PORT ISA SERIAL CARD ADAPTER $39.99 |
|
|
STARTECH PCI1S550 - .COM 1 PORT SERIAL PCI I/O CARD ADA $48.69 |
|
|
SYBA SY-PCI15031 PCI to 2x DB-9 Serial (RS-232) Ports Controller Card [OEM] $12.39 |
|
|
Add 6 (six) Serial (COM, DB9) ports to any Desktop PC with PCI slot, 2 brackets $24.99 |
|
|
HP Pavilion 7966 Front Panel Port Assy 5065-6098 USB FireWire/USB/Serial Ports $1.99 |
|
|
SYBA SY-PCI15031 PCI to 2x DB-9 Serial (RS-232) Ports Controller Card [OEM] $12.26 |
|
|
HP COMPAQ NC8430 9-PIN SERIAL PORT BOARD 6050A2031701 $14.95 |
|
|
445775-001 HP 2-Port Powered Serial Card $50.00 |
|
|
STARTECH.COM - TWO 16C550 SERIAL ONE EPP PARALLEL PORT PCI COMBO CARD $14.99 |
|
|
HP Pavilion 743N 5002-8742 XT846 USB/Serial Ports $19.99 |
|
|
NEW PCI Express Serial ATA II (SATA II) Card, 2x External Port (e-SATA), SiI3132 $17.99 |
|
|
SIIG LP-P20011-S6 2-port serial adapter w/fan out cable $38.01 |
|
|
SIIG LP-P20011-S6 2-port serial adapter w/fan out cable $38.01 |
|
|
SIIG LP-P20011-S6 2-port serial adapter w/fan out cable $38.01 |
|
|
STARTECH.COM PEX2S950 2-port serial pci express adapter $49.60 |
|
|
SIIG JJ-P02012-S6 2-port pci serial rs232 adapter $50.26 |
|
|
SIIG JJ-P02012-S6 2-port pci serial rs232 adapter $63.25 |
|
|
LaCie 4-port Serial ATA Controller $248.49 LaCie 4-port Serial ATA Controller |
|
|
Cisco 1-Port Serial WAN Interface Card $268.49 Cisco 1-Port Serial WAN Interface Card |
|
|
Adaptec 5085 8 Port Serial ATA/SAS RAID Controller $745.03 Adaptec 5085 8 Port Serial ATA/SAS RAID Controller |
|
|
Adaptec 52445 28 Port Serial ATA/SAS RAID Controller $1268.3 Adaptec 52445 28 Port Serial ATA/SAS RAID Controller |
|
|
Adaptec 5805 8 Port Serial ATA/SAS RAID Controller $470.03 Adaptec 5805 8 Port Serial ATA/SAS RAID Controller |
|
|
Adaptec 5445 8 Port Serial ATA/SAS RAID Controller $499.49 Adaptec 5445 8 Port Serial ATA/SAS RAID Controller |
|
|
Comtrol RocketPort 30045-8 8-port Serial Hub $325.99 Comtrol RocketPort 30045-8 8-port Serial Hub |
|
|
HighPoint RocketRAID 1742 4-port Serial ATA RAID Controller $121.99 HighPoint RocketRAID 1742 4 Port Serial ATA RAID Controller |
|
|
HighPoint Rocket 620 2-port Serial ATA PCI Express Controller $35.99 HighPoint Rocket 620 2-port Serial ATA PCI Express Controller |
|
|
HighPoint RocketRAID 2302 4 Port Serial ATA II RAID Controller $131.49 HighPoint RocketRAID 2302 4 Port Serial ATA II RAID Controller |
Thanks for visiting!