Hi
I am basic learner. I am wondering how PCAN-USB FD works. Does it work like Virtual COM Port where a driver emulates a USB port as COM port ?
Is USB to CAN hardware assigned a address or does enumeration happens ?
What PCAN USB FD functions perform on electrical level, how protocol conversion ...
Search found 8 matches
- Fri 5. Feb 2016, 11:53
- Forum: PCAN-USB FD
- Topic: How PCAN-USB FD works ?
- Replies: 1
- Views: 5068
- Mon 14. Sep 2015, 12:47
- Forum: PCAN-Basic
- Topic: Reading form the bus: threads, buffers?
- Replies: 5
- Views: 12734
Re: Reading form the bus: threads, buffers?
I am using PCAN-BASIC API USB interface. I am developing an application which read/process 6 frames/sec although I am receiving 17 frames/sec from my device. I have red buffer is FIFO. So after1 second when I will read I will get 7th frame ?
Second question from your last comment, is there 2 buffer ...
Second question from your last comment, is there 2 buffer ...
- Wed 26. Aug 2015, 11:32
- Forum: PCAN-Basic
- Topic: Reset timestamps
- Replies: 21
- Views: 25545
Re: Reset timestamps
Thanks a lot for your reply.
- Tue 25. Aug 2015, 18:42
- Forum: PCAN-Basic
- Topic: Reset timestamps
- Replies: 21
- Views: 25545
Re: Reset timestamps
TS = readResult[2]
TimeStamp = TS.micros+TS.millis*1000 + 0x100000000 * 1000 * TS.millis_overflow
print TimeStamp
I am using Python on windows.
I want to calculate the time between two CAN frames on my bus. When I run this code I get following values:
18740080279
18740080537
18740080802 ...
TimeStamp = TS.micros+TS.millis*1000 + 0x100000000 * 1000 * TS.millis_overflow
print TimeStamp
I am using Python on windows.
I want to calculate the time between two CAN frames on my bus. When I run this code I get following values:
18740080279
18740080537
18740080802 ...
- Tue 18. Aug 2015, 14:44
- Forum: PCAN-Basic
- Topic: PCANBasic: Event - triggered reading in Python
- Replies: 7
- Views: 15179
Re: PCANBasic: Event - triggered reading in Python
Thanks for your reply Wilhelm.
I am using windows and Python.
I checked that code. I just want to listen the CAN bus, do I still need threading ? second, TkInter is GUI Lib but I am not using or creating GUI. Do I still need to use this library ?
I am struggling with event handling in python.
I am using windows and Python.
I checked that code. I just want to listen the CAN bus, do I still need threading ? second, TkInter is GUI Lib but I am not using or creating GUI. Do I still need to use this library ?
I am struggling with event handling in python.
- Mon 17. Aug 2015, 17:51
- Forum: PCAN-Basic
- Topic: PCANBasic: Event - triggered reading in Python
- Replies: 7
- Views: 15179
Re: PCANBasic: Event - triggered reading in Python
Hello,
I am facing the same problem reading CAN messages using events. When I run the code it gives me stream of CAn packets but when qeue gets empty code exits. I just want to listen CAN bus no writing. I am struggling with using event handling using 'PCAN_RECEIVE_EVENT'. Can anyone help regarding ...
I am facing the same problem reading CAN messages using events. When I run the code it gives me stream of CAn packets but when qeue gets empty code exits. I just want to listen CAN bus no writing. I am struggling with using event handling using 'PCAN_RECEIVE_EVENT'. Can anyone help regarding ...
- Mon 17. Aug 2015, 09:35
- Forum: PCAN-USB FD
- Topic: Connection problem with PCAN usb-fd
- Replies: 5
- Views: 17641
Re: Connection problem with PCAN usb-fd
Thanks Wilhelm for your reply.
Well issue is solved. I was initialising as CAN FD but indeed it was simple CAN.
On user manual of USB-FD:
"Red Blinking: An error is occuring durig transmission of AN data" (page 17)
Well issue is solved. I was initialising as CAN FD but indeed it was simple CAN.
On user manual of USB-FD:
"Red Blinking: An error is occuring durig transmission of AN data" (page 17)
- Fri 14. Aug 2015, 12:41
- Forum: PCAN-USB FD
- Topic: Connection problem with PCAN usb-fd
- Replies: 5
- Views: 17641
Re: Connection problem with PCAN usb-fd
Hello,
I am programming using python. Whenever I make mistake in code it makes communication error(Blinking RED). I have to restart the computer otherwise it wont work. Even replugging or restarting CAN bus wont work.
I am programming using python. Whenever I make mistake in code it makes communication error(Blinking RED). I have to restart the computer otherwise it wont work. Even replugging or restarting CAN bus wont work.