Search found 11 matches

by MOUHOUBI
Sat 18. Jul 2020, 20:56
Forum: PCAN-USB Pro
Topic: problème communication
Replies: 10
Views: 4789

Re: problème communication

Hello,

Thank you very much for your help I just solved the problem, it was the BUSHEAVY Statue in the end and sorry for the inconvenience.

cordially
by MOUHOUBI
Fri 17. Jul 2020, 16:56
Forum: PCAN-USB Pro
Topic: problème communication
Replies: 10
Views: 4789

Re: problème communication

I do not know if the statue which causes the problem but I arrive sent frames from another adapter USB CAN with its monitor and I receive well but for on the PCAN USB PRO and I also send from my PCAN PRO and I sees that the sent frames are well received.
screen.PNG
screen.PNG (99.07 KiB) Viewed 2776 times
screen2PNG.PNG
screen2PNG.PNG (309 KiB) Viewed 2776 times
by MOUHOUBI
Fri 17. Jul 2020, 16:16
Forum: PCAN-USB Pro
Topic: problème communication
Replies: 10
Views: 4789

Re: problème communication

Here is the diagram of what I want to do and what works and what does not. i want to know if what i can do is doable, if yes i want to know what i should do or added to my code I know that I can do it from the PCAN View to the gateway but I am trying to send it from my python code discription.PNG Th...
by MOUHOUBI
Fri 17. Jul 2020, 14:58
Forum: PCAN-USB Pro
Topic: problème communication
Replies: 10
Views: 4789

Re: problème communication

here is the code i use to send the frame: from PCANBasic import * #Initialize the PCAN m_PCAN = PCANBasic() m_Result = m_PCAN.Initialize(PCAN_USBBUS1, PCAN_BAUD_500K) # creation of the frame m_Msg = TPCANMsg() m_Msg m_Msg.ID = 0x103 m_Msg.LEN =3 m_Msg.DATA[0] = 0xA m_Msg.DATA[1] = 0xB m_Msg.DATA[2] ...
by MOUHOUBI
Fri 17. Jul 2020, 14:26
Forum: PCAN-USB Pro
Topic: problème communication
Replies: 10
Views: 4789

Re: problème communication

Hello, Thank you for your explanation that I checked and I am on the same speed, but I want to know if the frames sent from USB to CAN (from my computer i.e. python code to PCAN-USB Pro) will be automatically transmitted from the CAN to another device (PCAN USB Pro to the gateway) connected to the C...
by MOUHOUBI
Fri 17. Jul 2020, 10:47
Forum: PCAN-USB Pro
Topic: problème communication
Replies: 10
Views: 4789

problème communication

Hello, I am using the PCAN-USB Pro and I have successfully sent USB to CAN frames with Python (Initialized-Write-Uninitialize) as you could see on the following capture on the PCAN-View, and I have connected the PCAN USB Pro with an Anybus Communicator gateway with a female CAN-CAN Cable and I see t...
by MOUHOUBI
Thu 16. Jul 2020, 11:36
Forum: PCAN-USB Pro
Topic: Problem with Write function
Replies: 1
Views: 1531

Problem with Write function

I have executed the following code to write a CAN message, it has been initialized (we can see it on the message after debugging) but it can't manage to Write a CAN message it puts the translation in French (system language d 'exploitation) as indicated on the documentation screenshot the code used ...
by MOUHOUBI
Thu 16. Jul 2020, 09:55
Forum: PCAN-USB Pro
Topic: Erreur Code
Replies: 3
Views: 2102

Re: Erreur Code

i did everything you told me but i still have the same problem !!
by MOUHOUBI
Thu 16. Jul 2020, 01:45
Forum: PCAN-USB Pro
Topic: Erreur Code
Replies: 3
Views: 2102

Erreur Code

Hello, I tried this python code to read a message, this example I found it on this forum but I have this error message: # The Plug & Play Channel (PCAN-USB) is initialized # objPCAN = PCANBasic() result = objPCAN.Initialize(PCAN_USBBUS1, PCAN_BAUD_500K) if result != PCAN_ERROR_OK: # An error occurre...
by MOUHOUBI
Thu 16. Jul 2020, 00:30
Forum: PCAN-USB Pro
Topic: would exemple send message
Replies: 1
Views: 1358

would exemple send message

Hello,
I want to send a message (write) on my PCAN, USB PRO I have the PCANBasic library but it is complicated if you could give me a small example how to send a frame or message on Pcan which will unlock me to continue on my project, thank you