03-30-2025, 08:42 AM
Thanks for your input, Parkland.
What you is describe is similar (partly) to the method in Gambas3 - except I am opening it for read or write. Somewhere in my searches I came across something about opening the port using a com program first - think it was 'CuteCom' under Windows. If this is the case, its bit cumbersome - I rather hope I can find something that can be set up in QB64PE..
Anything I can find I will post here, so it can maybe used by someone else.
I guess you are working under Windows - ttyUSB?, and as yet I don't know if there is any difference in Linux - partly my reason for asking if anyone knew of any documentation. I'll try and give your suggestion a try under Linux, and see what happens. I assume that if you don't open the port with a separate com program, then it remains closed to QB64PE?
I'm beginning to think that I might have to write my own Serial Port Library. Since most computers nowadays offer USB ports, it may not be a big problem. There will be no need to handle the Serial handshake lines for USB use, The only setting will be Baud Rate, number of bits, and number of stopbits, so it might be worth a go.
Regards - Keith
What you is describe is similar (partly) to the method in Gambas3 - except I am opening it for read or write. Somewhere in my searches I came across something about opening the port using a com program first - think it was 'CuteCom' under Windows. If this is the case, its bit cumbersome - I rather hope I can find something that can be set up in QB64PE..
Anything I can find I will post here, so it can maybe used by someone else.
I guess you are working under Windows - ttyUSB?, and as yet I don't know if there is any difference in Linux - partly my reason for asking if anyone knew of any documentation. I'll try and give your suggestion a try under Linux, and see what happens. I assume that if you don't open the port with a separate com program, then it remains closed to QB64PE?
I'm beginning to think that I might have to write my own Serial Port Library. Since most computers nowadays offer USB ports, it may not be a big problem. There will be no need to handle the Serial handshake lines for USB use, The only setting will be Baud Rate, number of bits, and number of stopbits, so it might be worth a go.
Regards - Keith

