Search found 462 matches

by M.Heidemann
Wed 21. Apr 2021, 09:49
Forum: PCAN-Basic
Topic: PCAN USB pro and Two channel CAN
Replies: 1
Views: 10

Re: PCAN USB pro and Two channel CAN

Hello, Thank you for your request. You can use up to 16 channel of the same device type with the PCANBasic API, which allows you to initialize and read on multiple channels at once. You can for example start the example application 2 times to see this demonstrated. You would have seen similar questi...
by M.Heidemann
Tue 20. Apr 2021, 08:23
Forum: PCAN-ISO TP
Topic: Problems after update to PEAK-ISO-API v3.1.1.227
Replies: 3
Views: 110

Re: Problems after update to PEAK-ISO-API v3.1.1.227

Hello, Our development team informed me that this was a bug which has been fixed, the bugfix will be included in the next release of the PCAN-ISO TP API. If you are interested in testing the prerelease version with the bugfix for this, please send us an email to support[at]peak-system.com Please let...
by M.Heidemann
Thu 15. Apr 2021, 16:50
Forum: PCAN-miniPCIe FD
Topic: Multiple pcan devices on a Linux system
Replies: 9
Views: 104

Re: Multiple pcan devices on a Linux system

Hello, Please check if you are using python 3.x, if you have prefixed the bitratestring with 'b', as byte literals in python3 have to be prefixed, this was not necessary in python 2.x: Examples Python 2.x result = objPCAN.InitializeFD(PCAN_PCIBUS1 , "f_clock=80000000, nom_brp=2, nom_tseg1=63, nom_ts...
by M.Heidemann
Thu 15. Apr 2021, 11:46
Forum: PCAN-miniPCIe FD
Topic: Multiple pcan devices on a Linux system
Replies: 9
Views: 104

Re: Multiple pcan devices on a Linux system

Hello, You are right, i had it wrong. I have talked to our Linux-Development team and there was a misconception on my end on how this is handled on CharDev, i am really sorry. The device-id is given per channel, not device. The Linux driver does handle this differently than the Windows driver does, ...
by M.Heidemann
Wed 14. Apr 2021, 16:22
Forum: PCAN-miniPCIe FD
Topic: Multiple pcan devices on a Linux system
Replies: 9
Views: 104

Re: Multiple pcan devices on a Linux system

Hello, please read my previous post, carefully. The device-id is set once per device - as in once per hardware-device. The channels of the device will enumerate accordingly, they will not be mixed up on the same hardware device. Subsequent set device ids will be ignored, to prohibit confusion later ...
by M.Heidemann
Wed 14. Apr 2021, 15:19
Forum: PCAN-miniPCIe FD
Topic: Multiple pcan devices on a Linux system
Replies: 9
Views: 104

Re: Multiple pcan devices on a Linux system

Pardon me, i made a mistake and marked the wrong option in my screenshot, Im sorry about this. please use the assign=devid[,peak] option for this. 1404_04.jpg.png This way the devices will enumarate based on their ID. Furthermore, the device-id is only set once for each device. If you set the device...
by M.Heidemann
Wed 14. Apr 2021, 12:11
Forum: PCAN-miniPCIe FD
Topic: Multiple pcan devices on a Linux system
Replies: 9
Views: 104

Re: Multiple pcan devices on a Linux system

Hello Robin, You have to set a device-number using the pcan-settings utility, as described starting on page 31 of the PCAN-Linux documentation: 1404_01.jpg.png To set the order of channel assigment please have a look at the assign parameter (described on page 39 of the PCAN-Linux driver documentatio...
by M.Heidemann
Wed 14. Apr 2021, 08:15
Forum: PCAN-Router FD
Topic: how to use digital out (Dout)
Replies: 1
Views: 25

Re: how to use digital out (Dout)

Hello, Please have a look at the example 03_TIMER_IO, this example uses a CAN-message to set the low side switch: // catch ID 334h to control the low-side switch if ( RxMsg.id == 0x334 && RxMsg.msgtype == CAN_MSGTYPE_STANDARD) { uint32_t dig_out; // default OFF dig_out = 0; if ( RxMsg.data8[0] & 1) ...
by M.Heidemann
Mon 12. Apr 2021, 15:31
Forum: PCAN-Basic
Topic: DBC Parsing for Visual Studio C#
Replies: 1
Views: 58

Re: DBC Parsing for Visual Studio C#

Hello, We do not offer any library which includes this feature. We also cannot point to a specifc third-party solution in this case, sorry. You'll be able to find solutions online, however you may have to implement them in C# yourself as they are not offered as C#. We cannot provide any support for ...
by M.Heidemann
Thu 8. Apr 2021, 10:48
Forum: PCAN-Basic
Topic: Query Regarding the Licensing
Replies: 1
Views: 93

Re: Query Regarding the Licensing

Hello Thanveer, You do not need to purchase licences for this purpose. Please refer to the ReadMe.txt included in the PCANBasic API package, see section "Rights to use these files" , the linked EULA also applies to PCAN-ISO TP API and PCAN-UDS API as well. Your rights/requirements for distributing y...