error: "Cannot configure TxEcho for open device" QCanBusDevice
-
wrote on 10 Apr 2019, 09:24 last edited by
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? -
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
-
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
wrote on 10 Apr 2019, 09:51 last edited by@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. -
@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.
-
@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.
-
@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.
-
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.
-
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
-
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
7/11