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
Qt 5.8 with QtSerialBus released
-
- Posts: 19
- Joined: Tue 8. Oct 2013, 07:19
Re: Qt 5.8 with QtSerialBus released
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
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
-
- Posts: 9
- Joined: Mon 20. Mar 2017, 11:11
Re: Qt 5.8 with QtSerialBus released
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
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
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: Qt 5.8 with QtSerialBus released
This Forum is no QT Forum - please post it to http://bugreports.qt.io
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
-
- Posts: 19
- Joined: Tue 8. Oct 2013, 07:19
Re: Qt 5.8 with QtSerialBus released
Hi rachedrech,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
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
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!
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!
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: Qt 5.8 with QtSerialBus released
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)
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)
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------