Search found 1623 matches

by M.Maidhof
Fri 11. Nov 2011, 14:49
Forum: Linux
Topic: Website mit CAN-Variablen auf Linux-Rechner
Replies: 13
Views: 15203

Re: Website mit CAN-Variablen auf Linux-Rechner

Hallo,

bitte mal pruefen ob Sie auch die Baudrate auf 500k stehen haben in Ihrem Sender. Sind die CAN Kabel mit 120 Ohm terminiert?

Mit freundlichen Gruessen

Michael Maidhof
by M.Maidhof
Fri 11. Nov 2011, 13:14
Forum: Linux
Topic: Website mit CAN-Variablen auf Linux-Rechner
Replies: 13
Views: 15203

Re: Website mit CAN-Variablen auf Linux-Rechner

Hallo, das Problem ist klar ersichtlich, Sie haben den Treiber als Netdev uebersetzt (siehe can0). Bitte gehen Sie wie folgt vor: - wechseln Sie ins \driver Verzeichnis - rmmod pcan - make clean - make NET=NO PCC=NO ISA=NO PAR=NO DNG=NO PCI=NO - make install - insmod pcan.ko Und dann nochmals receiv...
by M.Maidhof
Fri 11. Nov 2011, 12:39
Forum: Linux
Topic: Website mit CAN-Variablen auf Linux-Rechner
Replies: 13
Views: 15203

Re: Website mit CAN-Variablen auf Linux-Rechner

Hallo, vielen Dank fuer die Info. Bitte senden Sie uns mal den output von cat /proc/pcan wenn der PCAN-USB angeschlossen ist. Wenn Ihr Canalyzer das Signal nicht gesendet bekommt, kann ich Ihnen leider auch nicht wirklich weiterhelfen, dann sind Sie hier im falschen Forum. Sie sollten ggf eine Softw...
by M.Maidhof
Mon 7. Nov 2011, 16:36
Forum: PCAN-Explorer 5 & Add-ins
Topic: signal generator like CANalayzer
Replies: 1
Views: 3013

Re: signal generator like CANalayzer

Hi,

you can use instruments panel objects to generate data, or you can also write a VB or standard macro file to generate a periodical signal (sinus etc).

best regards

Michael
by M.Maidhof
Tue 25. Oct 2011, 09:52
Forum: Linux
Topic: bus speeds
Replies: 6
Views: 6221

Re: bus speeds

Hi Bruce,

when you use 11Bit "standard" CAN frames you can just omit the "e" option.

echo "i 0x0014" > /dev/pcan32

echo "i 0x011C e" > /dev/pcan33

regards

Michael
by M.Maidhof
Mon 24. Oct 2011, 10:02
Forum: Linux
Topic: bus speeds
Replies: 6
Views: 6221

Re: bus speeds

Hi,

please see our linux driver manual in pdf format on page 22:

example:

echo "i 0x0014 e" > /dev/pcan32

echo "i 0x011C e" > /dev/pcan33

You have to use the chardev devices to set the baudrate of the used Netdev devices.

regards

Michael
by M.Maidhof
Mon 10. Oct 2011, 17:47
Forum: Linux
Topic: Linux/USB approach
Replies: 7
Views: 8322

Re: Linux/USB approach

Hi, yes, you are right...this is absolutely OFFTOPIC.... the highest bit will represent the sign of a variable, so depending of how many bits your variable have, you have to use a 8bit, 16bit or 32bit datatype and set the correct value into the CAN message. Please see the following wiki page for mor...
by M.Maidhof
Tue 4. Oct 2011, 13:59
Forum: Linux
Topic: Linux/USB approach
Replies: 7
Views: 8322

Re: Linux/USB approach

Hi,

please see pcan.h in the /driver directory.

best regards

Michael
by M.Maidhof
Fri 26. Aug 2011, 12:49
Forum: Linux
Topic: Linux program to receive hexadecimal values
Replies: 11
Views: 16493

Re: Linux program to receive hexadecimal values

Hi,

no, this trace shows extended frames... :D

set -e option in receivetest to solve your problem.

regards

Michael
by M.Maidhof
Thu 25. Aug 2011, 10:33
Forum: Linux
Topic: Linux program to receive hexadecimal values
Replies: 11
Views: 16493

Re: Linux program to receive hexadecimal values

Hi, do you know what -b=0x0013 means? This is a baudrate of 1142kbit/s..... That is why you will receive the status messages (busheavy) from the module, because you are using a wrong and even for CAN undefined baudrate >1Mbit/s. Sorry, but the way you will solve that problem is not the right way... ...