Beginner Question

Windows® Compatible Software for Displaying CAN Messages
Post Reply
singlequestion
Posts: 5
Joined: Mon 2. Jul 2018, 16:35

Beginner Question

Post by singlequestion » Mon 2. Jul 2018, 16:44

Hey everyone,

I am using a PCAN USB device connected to my usb port on pc. I want to connect my PCAN USB DEVICE to a module like the following Illustration.

NOTEBOOK -----> PCAN USB DEVICE -----> CAN CONNECTION CABLE -----> MODULE
The module has also can port which i can connect to.
Now I am sending messages with PCAN-View periodically e.g.

[00 01 01 01 01 00 00 00] (Length: 8, ID: 00000100h)

and I hope that i can receive this as a message in PCAN-View. But it fails, messages are going out, nothing coming in. Maybe can you tell me which ID i have to fill in here?
Is it the ID of the USB PCAN DEVICE or is it the ID of the Module that i want to comunicate with? Is there a way to find out the ID from the module without knowing it?
I would be really thankful for any help i can get.

Best regards

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Beginner Question

Post by PEAK-Support » Tue 3. Jul 2018, 11:36

If your CAN Node do not send CAN Frames, you will not see any CAN Frames in the PCAN-View.
This Tool is a CAN Monitoring Software that could send and receice CAN Frames. Not more - not Less.
If your module does not send CAN Frames by it´s own - you will see no CAN Frames incomming to the CAN USB , and so PCAN-View will not show any message in the Receice Window.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: Beginner Question

Post by M.Maidhof » Tue 3. Jul 2018, 11:37

Hi,

the message ID you have to send is depending on the module you are using. So please contact the manufacturer of the module and ask, which CAN ID and data is necessary to communicate with that module.

Please check that you use a terminated CAN cable between PCAN-USB and your module.

regards

Michael

singlequestion
Posts: 5
Joined: Mon 2. Jul 2018, 16:35

Re: Beginner Question

Post by singlequestion » Wed 4. Jul 2018, 09:36

Thanks a lot for your answer, it helped me a lot.

So when i try to send a datapacket (DP) like


DPTest1 = CanDatapacket()
DPTest1.data = array('B', [00,00,00,00,00,00])
DPTest1.dlc = len(DPTest1.data)
DPTest1.id = 0x01
DPTest1.uniqueID = 2382822626

then the necessary ID to communicate is the unique ID? The ID represents only the message-id for the tasks to communicate with module.

Best regards,

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Beginner Question

Post by PEAK-Support » Wed 4. Jul 2018, 09:42

DPTest1 = CanDatapacket()
DPTest1.data = array('B', [00,00,00,00,00,00])
DPTest1.dlc = len(DPTest1.data)
DPTest1.id = 0x01
DPTest1.uniqueID = 2382822626
the Syntax is not from any of our Hardware ...if this is your own CAN node, pleae conatct the node manufacturer - we could not help to solve other companies problem - sorry...
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Post Reply