GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 03-Sep-2008, 12:39
mamcspadden mamcspadden is offline
New Member
 
Join Date: Sep 2008
Posts: 1
mamcspadden is on a distinguished road

Serial Communications


Hi, I'm using VC++ to create a program to communicate with a serial device. The program sends and recieves ASCII data, and the terminal it sends this data to has 3 lines, 20 characters per line. My problem is that I have no clue how to transfer data to lines 2 or 3. I need to know how to program an option (much like the one in Hyperterminal) that allows you to send line ends with line feeds.

The program I'm making now uses a custom command called SioPuts (a,b,c) where a is the port #, b is the string to send, and c is the total number of bytes.

Does anyone know how I would go about doing this? I frankly am not a very good programmer (just got started not too long ago) and am having to adapt purchased source codes to fit this project. Since these codes don't include the option to send line ends I'm not sure how to go about doing it.
 
 

Recent GIDBlogVista ?Widgets? on Windows XP by LocalTech

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard drive/CPU Diagnoses Issues binarybug Computer Hardware Forum 1 22-Jan-2007 19:23
Serial Port Communication a3.charles C Programming Language 0 03-Aug-2006 23:42
receive X10 signals with w800rf32a serial soldstatic C++ Forum 0 06-Jul-2006 13:44
Problem to read on a serial port collinm C Programming Language 2 30-Mar-2005 01:42
Serial Port communication in C or C++ dmkst56 C++ Forum 0 23-Mar-2005 20:18

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 18:54.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.