Search found 10 matches

by HPetruck
Thu 16. Jun 2016, 11:32
Forum: Linux
Topic: No incoming messages with PCANBasic
Replies: 4
Views: 9393

Re: No incoming messages with PCANBasic

Solved,

from another example code I used the define:

Code: Select all

#define DWORD  unsigned long
Replaced it with

Code: Select all

#define DWORD  unsigned int
and now everything works.

Regards
Henning
by HPetruck
Tue 14. Jun 2016, 17:20
Forum: Linux
Topic: No incoming messages with PCANBasic
Replies: 4
Views: 9393

Re: No incoming messages with PCANBasic

The message was sent to the robot with the message type standard. The PCAN Basis test tool pcanread works fine, it reads the robot's answers to the messages sent by transmitest. The test tool pcanwrite always returns PCAN_ERROR_OK from the function call CAN_Write, but I do not receive any answers ...
by HPetruck
Tue 14. Jun 2016, 11:15
Forum: Linux
Topic: No incoming messages with PCANBasic
Replies: 4
Views: 9393

No incoming messages with PCANBasic

Hello,

currently I am porting a Windows application to Ubuntu, with both Operating Systems I am using the PCAN Basic API and the PEAK USB CAN Adapter. But under Linux I am not receiving any messages, the same method calls work fine in Windows.

The tranmitest and receivetest from the linux driver ...
by HPetruck
Mon 13. Jun 2016, 15:33
Forum: Linux
Topic: PCAN_ERROR_XMTFULL when sending first message
Replies: 10
Views: 16207

Re: PCAN_ERROR_XMTFULL when sending first message

I solved the problem. The API was not installed correctly.

Thanks for the support!

Regards
Henning
by HPetruck
Mon 13. Jun 2016, 14:23
Forum: Linux
Topic: PCAN_ERROR_XMTFULL when sending first message
Replies: 10
Views: 16207

Re: PCAN_ERROR_XMTFULL when sending first message

The test program pcanwrite works fine. The API version is 2.0.3.

Regards
Henning Petruck
by HPetruck
Mon 13. Jun 2016, 11:44
Forum: Linux
Topic: PCAN_ERROR_XMTFULL when sending first message
Replies: 10
Views: 16207

Re: PCAN_ERROR_XMTFULL when sending first message

That was already the output of after using the API. The methods CAN_Initialize, CAN_FilterMessages and CAN_Write have been called. Yes, I have other hardware and a terminated cable connected. If I call the exact same functions with the same parameters from my Windows program with the PCAN Basis API ...
by HPetruck
Mon 13. Jun 2016, 10:00
Forum: Linux
Topic: PCAN_ERROR_XMTFULL when sending first message
Replies: 10
Views: 16207

Re: PCAN_ERROR_XMTFULL when sending first message

Unfortunately I still get the same error. The output of cat /proc/pcan is now:

*------------- PEAK-System CAN interfaces (www.peak-system.com) -------------
*------------- Release_20150729_n (7.15.2) Jun 13 2016 09:43:01 --------------
*------------- [mod] [isa] [pci] [pec] [dng] [par] [usb] [pcc ...
by HPetruck
Fri 10. Jun 2016, 15:14
Forum: Linux
Topic: PCAN_ERROR_XMTFULL when sending first message
Replies: 10
Views: 16207

Re: PCAN_ERROR_XMTFULL when sending first message

Thank you for your answer, I will try this.

Best Regards
Henning
by HPetruck
Fri 10. Jun 2016, 13:10
Forum: Linux
Topic: PCAN_ERROR_XMTFULL when sending first message
Replies: 10
Views: 16207

Re: PCAN_ERROR_XMTFULL when sending first message

*------------- PEAK-System CAN interfaces (www.peak-system.com) -------------
*------------- Release_20150729_n (7.15.2) May 30 2016 15:13:37 --------------
*---------- [mod] [isa] [pci] [pec] [dng] [par] [usb] [pcc] [net] -----------
*--------------------- 1 interfaces @ major 249 found ...
by HPetruck
Fri 10. Jun 2016, 11:06
Forum: Linux
Topic: PCAN_ERROR_XMTFULL when sending first message
Replies: 10
Views: 16207

PCAN_ERROR_XMTFULL when sending first message

Hello,

i get the error PCAN_ERROR_XMTFULL, when sending the first message via the PCAN USB interface. I use the PCAN Basis API on a Xubuntu OS. Before I try to send the first message I have successfully called the methods CAN_Initialize and CAN_FilterMessages. Do you have an idea where my problem ...