Page 1 of 1
Qt 5.8 with QtSerialBus released
Posted: Mon 7. Nov 2016, 07:33
by A.Hartmann
Qt 5.8 Beta was released last friday [1] and now officially contains the QtSerialBus module.
QtSerialBus allows easy CAN bus access from within Qt applications.
Peak CAN bus adapters are supported by the PCAN-Basic-API under Windows (USB and PCI devices), and by SocketCAN under Linux. A simple GUI and a console example are included to try out the features.
Please try this beta and report all issues to the Qt bug tracker [2]
Thanks.
[1]
http://blog.qt.io/blog/2016/11/04/qt-5-8-beta-released/
[2]
http://bugreports.qt.io
Re: Qt 5.8 with QtSerialBus released
Posted: Mon 30. Jan 2017, 13:20
by A.Hartmann
Hi,
and last week Qt 5.8 final was released [1].
The new QtSerialBus module [2] makes it much easier to access CAN hardware from for Qt programs.
[1]
http://blog.qt.io/blog/2017/01/23/qt-5-8-released/
[2]
http://doc.qt.io/qt-5/qtserialbus-index.html
Re: Qt 5.8 with QtSerialBus released
Posted: Mon 20. Mar 2017, 11:19
by rachedrech
Hello,
I am having a problem with the Qt CAN example, it runs perfectly on windows and I am able to send and receive messages. On Linux I i installed the PCAN driver and tested it and it works, but when I use the Qt CAN example I always have an error when connecting to the peak can device: "A PCAN Channel has not been initialized yet or the initialization process has failed" or sometimes this error:" An operation is not allowed due to the current configuration ".
Can someone please tell me what could be the problem? (I am a rookie)
Thanks in advance
Re: Qt 5.8 with QtSerialBus released
Posted: Tue 21. Mar 2017, 12:04
by PEAK-Support
This Forum is no QT Forum - please post it to
http://bugreports.qt.io
Re: Qt 5.8 with QtSerialBus released
Posted: Mon 20. Nov 2017, 07:37
by A.Hartmann
rachedrech wrote:Hello,
I am having a problem with the Qt CAN example, it runs perfectly on windows and I am able to send and receive messages. On Linux I i installed the PCAN driver and tested it and it works, but when I use the Qt CAN example I always have an error when connecting to the peak can device: "A PCAN Channel has not been initialized yet or the initialization process has failed" or sometimes this error:" An operation is not allowed due to the current configuration ".
Can someone please tell me what could be the problem? (I am a rookie)
Thanks in advance
Hi rachedrech,
We lately had a report about this issue and the problem is resolved in Qt 5.9.3. Please consider updating.
Best regards,
André
Re: Qt 5.8 with QtSerialBus released
Posted: Fri 29. Mar 2024, 16:56
by blipton
Hi André,
Do you know if the latest version of Qt (6.6) supports the latest PCAN-Basic Api Driver (V4.8.2.897)? Or do I need an older version of either?
(I installed the drivers and PCAN-View works fine. But after adding/installing the "Qt Serial Bus 6.6.3" component, the example (
https://doc.qt.io/qt-6/qtserialbus-peak ... rview.html) doesn't seem to see the USB Peak PCAN adapter.)
Thanks!
Re: Qt 5.8 with QtSerialBus released
Posted: Tue 2. Apr 2024, 12:36
by PEAK-Support
This forum is not a QT forum - please post it on
http://bugreports.qt.io
It is always recommended to use the latest driver and DLL versions. And as far as we know, everything works fine (only the MAC OS version needs to be updated - but since this SW interface is not maintained by us, please contact the maintainer)