Receiving CAN messages in the Qt application

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Receiving CAN messages in the Qt application

2,198件の閲覧回数
Philippe
Contributor I

Hi,

Does anybody know how to receive CAN messages in the Qt Creator application ?

Let me explain: in the demo program, when you want to increase the AC level you press a button that will trigger a property "fanIncrease" (or similar name). When this happens you call a C++ function in the C++ header file that will enable the QT Creator program to write a linux command on the linux console. This will send a message on the CAN bus (cansend can0 .....)

Now my question is how do you do the reverse operation ? When you want to receive CAN messages from the bus and send them as an input to the QT Creat app, how do you do ?

Thank you

Philippe

タグ(2)
0 件の賞賛
返信
1 返信

820件の閲覧回数
MikeJin
Contributor I

See the Windows Qt IDE example, they use Qt as front end and C++ as partial backend. I would imagine that canset, cansend, canreceive are library function through Freescale C/C++ library. A Qt front end with C++ backend might utilize CAN communication on sebre board.

Mike

PSU EcoCAR2

0 件の賞賛
返信