07-15-2004, 06:14 AM
BBQ: This site is called QBasicNews, you know... :roll:
data exchange via rs232
|
07-15-2004, 06:14 AM
BBQ: This site is called QBasicNews, you know... :roll:
07-15-2004, 11:01 AM
Dear Plasma
Salaam Thanks a lot for the big help. I will presently try the code you have sent and try to somehow measure the improvement in the program. In my control systems communication is secondary to the actual control proccess and so I want it to take as short a time as possible.
07-15-2004, 11:14 AM
Dear BBQ
Quite a long story. In short though. 1- QB is extremely easier to debug which is very important in custom SW meant to use only by one user. 2- Usually the speed is not critical with modern hi MHz motherboards. However less time for comunication means more time to CONTROL 3- AND I am not really a PROGRAMMER (after all I am asking as a newbie). I program my control system because it needs intimate familiarity with the control system design and programmers (at least here) do not seem to like accepting the responsibility of multi thausand dollar loss of productivity a bug can cause and the very limited field testing possibilities (at least not for the kind of money I can offer) 4- My system are almost all one of a kind. No repeats Would gladly supply more details if you care to email me off list
07-15-2004, 08:16 PM
Dear Plasma
I have now tried your code but it does not work. There is a BaudDiv which is not used anywhere and a couple of BaudNum that is not defined so is ZERO. If I replace BaudNum s with BaudDiv then it does work but much slower than 9600 baud, may be at 1200 bps rate. Any sujjestions?
07-15-2004, 08:31 PM
@Plasma: Even though this is a qb board, it's our duty to inform newbies about using correct s/w for their needs.
@AS: Did you try other modes like 14400, 19200, 38400, 57600?
07-16-2004, 03:23 AM
Yeah, my bad...it should be BaudDiv instead of BaudNum. I don't have a null modem cable right now so I can't test it out, try switching the open and the ComSpeed:
Code: DEFINT A-Z @BBQ: How do you know what his "needs" are? Maybe he needs to use QB?
07-17-2004, 08:26 PM
Hey I was just suggesting
08-02-2004, 05:08 PM
THANKS ALL FOR THE REPLIES
the communication via RS232 is working OK (up to 57600 bps NOT at 115200) But Alas, the Wireless RS232 Cable I purchased proved faulty. It will give me some 3 metres range (instead of at least 50)Manufacturere is supposed to send me a new pair soon. AND I have managed to land myself in another qb problem, large program to be modolarised. I am asking for help under a new topic. |
« Next Oldest | Next Newest »
|