CAN Bus example
The example sends and receives CAN bus frames.
The example sends and receives CAN bus frames. Incoming frames are ordered according to their type. A connect dialog is provided to adjust the CAN Bus connection parameters.
Key Qt Serial Bus classes used in this example:
- QCanBusDevice
- QCanBusFrame
Running the Example
To run the example from Qt Creator, open the Welcome mode and select the example from Examples. For more information, visit Building and Running an Example.
Files:
- can/bitratebox.cpp
- can/bitratebox.h
- can/can.pro
- can/can.qrc
- can/connectdialog.cpp
- can/connectdialog.h
- can/connectdialog.ui
- can/main.cpp
- can/mainwindow.cpp
- can/mainwindow.h
- can/mainwindow.ui
- can/sendframebox.cpp
- can/sendframebox.h
- can/sendframebox.ui
Images: