Solved error: "Cannot configure TxEcho for open device" QCanBusDevice
-
Hello i'm working with QCanBusDevice class and a systeccan plugin. I create my CanDevice in my class constructor and send messages to the device using writeFrame function.
I get the error "Cannot configure TxEcho for open device" each time i send a message.
Can anyone help? -
Hi @Babs,
which Qt version are you using?
Please check with the CAN Example (you can compile and run it from QtCreator). You should not get this message on every frame write, maximum once on
open()
.Regards
-
@aha_1980 I'm using Qt 5.12.0.
If i understand well i must get this error when i call setConfigurationParameter after i connect my device. I'm not doing so and setConfiguration Parameters in my class constructor before connecting the device. -
@Babs Please check with the CAN Example and report the results here.
-
@aha_1980 I get the same error when i try to send a message via CAN example.[link text](
link url)
-
@aha_1980 I get the same error even with the CAN example
-
@Babs Ok, but do you get it every time you send a frame or once after open?
I need this information to fix the plugin.
-
@aha_1980 I get the error every time i send a frame.
-
Hi @Babs,
I just tried but I cannot reproduce your problem with Qt 5.13 Beta.
So please, give the exact configuration you did, otherwise it's impossible to reproduce this error.
My configuration:
Regards -
Update: I was partly able to reproduce your problem! The error happens when you open the device (one time, as I already assumed) and I pushed a fix for review: https://codereview.qt-project.org/258740
If everything goes well, this fix will be in Qt 5.12.4
Regards
-
@aha_1980 Thanks you.
Regards,