RS232 in a class with IPowerThred

Started by Rudolf Furstauer, June 25, 2011, 02:27:33 PM

Previous topic - Next topic

Rudolf Furstauer

Here is a small example for RS232 in a class with IPowerThred.
If there are proposals to improve, please report here.

Maybe it helps someone.

Rudolf Fuerstauer

Stephane Fonteyne

Hi Rudolf,

I have been very interested in you application, but this is not an complete example. Can you post here an complete worked examples that send and receive data (bytes) through the com port?

I look out to your worked example with exe file so I can tested it

Best regards
Stephane
Stephane Fonteyne
Ba. Elektronica - ICT
GSM : +32-xxxxxxxxxx
PowerBasic Developer & Hardware Support

Roger Garstang

Looks like a pretty complete example to me, although it must be for the newest PB/Win since I get:

Error 567 in C:\PROGRAM FILES (X86)\FIREFLY VISUAL DESIGNER\PROJECTS\FF_COM_IPOWERTHREAD\RELEASE\CODEGEN_COMPORT_DECLARES.INC(58:005):  END CLASS expected
Line 58:     End Method   ':FILE:CODEGEN_COMPORT_COMPORT_CLASSINC_MODULE.inc|73|0
==============================
Compile failed


Rudolf Furstauer

The project should be complete.
I use PB10.01 and Jose's latest include files.

Here again all the files of the project incl.  exe.

Douglas McDonald

Rudolf,

Well this is really strange. Just yesterday I started to do the just about the same thing. This well save me a lot of time. Thank you.

Doug
Doug McDonald
KD5NWK
www.redforksoftware.com
Is that 1's and 0's or 0's and 1's?