Send CAN-Message with C++

This forum covers third party software that is for example developed with our APIs

Send CAN-Message with C++

Postby Peak_Performer » Thu 14. Sep 2017, 11:15

Hi,
I´m new in this forum, so please don´t judge me ;)

I want to send a easy CAN Message in a little C++ Script over my PCAN-USB Module on my CAN-BUS. Do you know how i can create a script to do that? My Message should look like 0x01010000000032 and the Bus uses a Bitrate of 1MBit/s.

I would be very thankful for your help :)

Best regards,

Phil
Peak_Performer
 
Posts: 2
Joined: Thu 14. Sep 2017, 11:09

Re: Send CAN-Message with C++

Postby M.Maidhof » Thu 14. Sep 2017, 11:31

Hi,

Windows or Linux?

regards

Michael
M.Maidhof
Support
Support
 
Posts: 804
Joined: Wed 22. Sep 2010, 14:00
Location: Darmstadt, Germany

Re: Send CAN-Message with C++

Postby Peak_Performer » Thu 14. Sep 2017, 12:05

Hi Michael,

I´m using Windows 7 currently.

Thanks and regards

Johannes
Peak_Performer
 
Posts: 2
Joined: Thu 14. Sep 2017, 11:09

Re: Send CAN-Message with C++

Postby M.Maidhof » Thu 14. Sep 2017, 14:10

Hi,

download the PCANBasic package from our website, and have a look on the sample code and help files.

regards

Michael
M.Maidhof
Support
Support
 
Posts: 804
Joined: Wed 22. Sep 2010, 14:00
Location: Darmstadt, Germany


Return to Third Party Software



cron