Hi, [ this is a forwarded bug report -- and this time I'm only translating. I don't understand any of these hardware things. If there are questions left, don't hesitate; ]
a user complains that SerialPort.DTR is buggy on his system: after initialisation, this property is False and the voltage is -12V. Setting it to True works and the voltage raises to +12V. But setting it to False afterwards does nothing: the property continues to return True the voltage remains on +12V. The needed hardware is an RS232 or an RS232-USB adapter. He says it worked with Gambas2 and he first noticed that it didn't with Gambas 3.1.1 (from the Ubuntu repositories). I urged him to update and the error still happens with 3.6.2. Attached is the project we came up with to reproduce the issue. He also mentioned that behaviour changed slightly when he left out the graphical component he initially used his project with: with a graphical component, the hardware didn't react and the property remained True and without a graphical component, the hardware reacts correctly, only the property gives the wrong value -- if I got him right. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk
DTR-Test.tar.gz
Description: Binary data
------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user