Thanks a lot for the answer, this did the trick. Now, to get the first active hw, i loop hw and try to get the status:
for (HCANHW hw = 1; hw <= MAX_HCANHW; hw++) {
can_status_t result = CAN_GetHardwareStatus(MyDevice, hw);
switch (result) {
case CAN_ERR_NODRIVER:
case CAN_ERR_ILLHW ...
Search found 4 matches
- Mon 11. Dec 2017, 10:45
- Forum: PCAN-Developer 4
- Topic: Ad-Hoc network always created in the "internal" card
- Replies: 2
- Views: 5264
- Fri 8. Dec 2017, 13:43
- Forum: PCAN-Developer 4
- Topic: Ad-Hoc network always created in the "internal" card
- Replies: 2
- Views: 5264
Ad-Hoc network always created in the "internal" card
I am using the PCAN-Devloper 4 dll in an flasher application. There are no CAN networks prepared. So, my proposed workflow was:
connect the client
see if there was already a network with my settings?
remove this network
create a network with my settings to the device I want
connect to this ...
connect the client
see if there was already a network with my settings?
remove this network
create a network with my settings to the device I want
connect to this ...
- Fri 8. Dec 2017, 13:23
- Forum: PCAN-USB
- Topic: BUSOFF/Stuff Error on send
- Replies: 2
- Views: 5378
Re: BUSOFF/Stuff Error on send
Connecting the PCAN USB directly to my USB port has solved the problem.
Thanks a lot for the swift solution!
Alexander Mueller
Thanks a lot for the swift solution!
Alexander Mueller
- Fri 8. Dec 2017, 10:00
- Forum: PCAN-USB
- Topic: BUSOFF/Stuff Error on send
- Replies: 2
- Views: 5378
BUSOFF/Stuff Error on send
I have a PCAN USB device (part. no. IPEH-002022 24905). Haven't used this for several years.
When I use it with PCAN-View I can see received messages, but as soon as I try to send a message PCAN USB goes into BUSOFF. I have tried several different baudrates (125, 250, 500). The cable has two ...
When I use it with PCAN-View I can see received messages, but as soon as I try to send a message PCAN USB goes into BUSOFF. I have tried several different baudrates (125, 250, 500). The cable has two ...