Qt 5.8 with QtSerialBus released

This forum covers third party software that is for example developed with our APIs
Post Reply
A.Hartmann
Posts: 19
Joined: Tue 8. Oct 2013, 07:19

Qt 5.8 with QtSerialBus released

Post by A.Hartmann » Mon 7. Nov 2016, 07:33

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

A.Hartmann
Posts: 19
Joined: Tue 8. Oct 2013, 07:19

Re: Qt 5.8 with QtSerialBus released

Post by A.Hartmann » Mon 30. Jan 2017, 13:20

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

rachedrech
Posts: 9
Joined: Mon 20. Mar 2017, 11:11

Re: Qt 5.8 with QtSerialBus released

Post by rachedrech » Mon 20. Mar 2017, 11:19

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

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Qt 5.8 with QtSerialBus released

Post by PEAK-Support » Tue 21. Mar 2017, 12:04

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
-------------------------------

A.Hartmann
Posts: 19
Joined: Tue 8. Oct 2013, 07:19

Re: Qt 5.8 with QtSerialBus released

Post by A.Hartmann » Mon 20. Nov 2017, 07:37

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é

blipton
Posts: 17
Joined: Sat 11. Jul 2020, 02:22

Re: Qt 5.8 with QtSerialBus released

Post by blipton » Fri 29. Mar 2024, 16:56

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!

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Qt 5.8 with QtSerialBus released

Post by PEAK-Support » Tue 2. Apr 2024, 12:36

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)
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Post Reply