Valhalla Legends Forums Archive | C/C++ Programming | to sent mulitple signal through RS 232 to a power supply using c programming

AuthorMessageTime
sheng84
hey to all have reply me, i have a program something as the same i last post which can only send 1 sentence to the power supply, and the program exit out after keying in the sentence. what i wan my program to do is to sent a few sentence over to the power supply and read it back the input, cos i need to actually command it without manually setting it.
June 23, 2005, 5:49 AM
Yoni
1. It looks like you viewed some site in Internet Explorer, viewed the files rs-232.c and rs-232.h and then used IE's File -> Save As.... to download them (that way it saves it with a "[1]" or "[2]", etc.).

2. It looks like you copied and pasted some sample code from that site and added on your own the 2 lines:
#include<rs-232[2].h>
#include<rs-232[2].c>

3. It looks like you don't really know C++ that well.

4. That said, could you phrase your problem in the form of a question? (And no, nobody can help. Yet.)
June 24, 2005, 3:05 PM
St0rm.iD
and why is this a poll again? and can you use code tags?
June 25, 2005, 1:48 AM
shout
[code]
PVOID doanything(PVOID everything)
[/code]
June 25, 2005, 3:37 AM

Search