PlanetSquires Forums

Support Forums => General Board => Topic started by: Rudolf Furstauer on June 25, 2011, 02:27:33 PM

Title: RS232 in a class with IPowerThred
Post by: Rudolf Furstauer on June 25, 2011, 02:27:33 PM
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
Title: Re: RS232 in a class with IPowerThred
Post by: Stephane Fonteyne on June 27, 2011, 10:13:17 AM
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
Title: Re: RS232 in a class with IPowerThred
Post by: Roger Garstang on June 27, 2011, 01:25:23 PM
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

Title: Re: RS232 in a class with IPowerThred
Post by: Rudolf Furstauer on June 27, 2011, 03:10:14 PM
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.
Title: Re: RS232 in a class with IPowerThred
Post by: Douglas McDonald on June 29, 2011, 09:46:41 AM
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