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, 10: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, 10:09

Re: Send CAN-Message with C++

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

Hi,

Windows or Linux?

regards

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

Re: Send CAN-Message with C++

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

Hi Michael,

I´m using Windows 7 currently.

Thanks and regards

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

Re: Send CAN-Message with C++

Postby M.Maidhof » Thu 14. Sep 2017, 13: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: 936
Joined: Wed 22. Sep 2010, 13:00
Location: Darmstadt, Germany


Return to Third Party Software



This website uses cookies for analytics, for logins to the online shop and the forum, and for the handling of an order. By browsing this website you agree to the use of cookies. Detailed information on their use can be found in our privacy policy.

OKPrivacy Policy