• Welcome to Valhalla Legends Archive.
 

to sent mulitple signal through RS 232 to a power supply using c programming

Started by sheng84, June 23, 2005, 12:49 AM

Previous topic - Next topic

i have a few problems regrading my program anyone can help???

anyone can help???
0 (0%)
anyone can solve my program>??
2 (22.2%)
no
7 (77.8%)

Total Members Voted: 7

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.

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.)

Banana fanna fo fanna