PDA

View Full Version : Gambas3 Serial port programing



conradin
January 8th, 2013, 12:42 AM
Hi all,
I need to sent string commands to the serial port, and wait for the device to respond.I want to use gambas3.
I have had a look at some gambas2 tutorials, but they do not seem to work.
For now, I will write the code in VB6, and try to get a port to gambas going a little later. Can any one point me to a working Gambas3 serial port programing example? read write examples prefferd.

kalaharix
January 8th, 2013, 08:03 AM
Hi

I haven't used the Gambas3 serial port example myself but can't see anything that shouldn't work. Gambas uses standard serial port libraries.

Your request for read/write examples leads me to think you are using the example from the supplied directory.

Just save the program (save as..) to one of your a home directories and it becomes read/write.

You will be able to use the console window to find where the problem lies.