Here is a C code example of a simple DOS command line executable that sends a list of CAN commands over PEAK USB using PCAN-view *.xmt or *.trc file formats:
// Transmit a list of CAN bus messages through PEAK USB.
// The list of CAN bus messages is stored in a file specified as command line ...
Search found 8 matches
- Sat 29. Jan 2011, 09:06
- Forum: PCAN-View
- Topic: Transmitting messages in required order
- Replies: 16
- Views: 60638
- Sat 29. Jan 2011, 04:43
- Forum: PCAN-View
- Topic: Transmitting messages in required order
- Replies: 16
- Views: 60638
Re: Transmitting messages in required order
Hi Keneth,
Once CAN_Write() returns PCAN_ERROR_QXMTFULL it never seam to flush the transmit buffer out and to return PCAN_ERROR_OK again. I see the PEAK USB interface continuously sending data in this state. The only way to get PEAK USB back to normal is to disconnect and connect the USB cable from ...
Once CAN_Write() returns PCAN_ERROR_QXMTFULL it never seam to flush the transmit buffer out and to return PCAN_ERROR_OK again. I see the PEAK USB interface continuously sending data in this state. The only way to get PEAK USB back to normal is to disconnect and connect the USB cable from ...
- Wed 19. Jan 2011, 12:47
- Forum: PCAN-View
- Topic: Transmitting messages in required order
- Replies: 16
- Views: 60638
Re: Transmitting messages in required order
The link to the solution resolved the problem with the help file, thank you.
I read the PCAN-Basic documentation and it is pretty clear. The TPCANBaudrate doesn’t define 33.333 kBit/s baud rate. Do I need to work out the hex value from the other predefined baud rates?
Regards,
Vlad
I read the PCAN-Basic documentation and it is pretty clear. The TPCANBaudrate doesn’t define 33.333 kBit/s baud rate. Do I need to work out the hex value from the other predefined baud rates?
Regards,
Vlad
- Wed 19. Jan 2011, 10:11
- Forum: Suggestions & Feature Requests
- Topic: PCAN-View transmit message list ordering and more ...
- Replies: 3
- Views: 31387
PCAN-View transmit message list ordering and more ...
Hi,
I am using PCAN-View with PEAK USB and I am very satisfied with its performance and stability. The PCAN-View user interface is friendly and easy to use.
I would like to suggest two additional features for consideration by the PCAN-View development team.
1. PCAN-View transmit message list ...
I am using PCAN-View with PEAK USB and I am very satisfied with its performance and stability. The PCAN-View user interface is friendly and easy to use.
I would like to suggest two additional features for consideration by the PCAN-View development team.
1. PCAN-View transmit message list ...
- Tue 18. Jan 2011, 10:55
- Forum: PCAN-View
- Topic: Transmitting messages in required order
- Replies: 16
- Views: 60638
Re: Transmitting messages in required order
Hi Keneth,
Thank you for your reply.
Both help files (PACN-Basic and PCAN-View) are on my local drive.
I was able to build the C++(CLR) after removing app.rc from the project. I was also able to run it after providing the required PCANBasic.dll. When stepping through the code, I realized that the ...
Thank you for your reply.
Both help files (PACN-Basic and PCAN-View) are on my local drive.
I was able to build the C++(CLR) after removing app.rc from the project. I was also able to run it after providing the required PCANBasic.dll. When stepping through the code, I realized that the ...
- Sun 16. Jan 2011, 09:13
- Forum: PCAN-View
- Topic: Transmitting messages in required order
- Replies: 16
- Views: 60638
Re: Transmitting messages in required order
Hi Uwe,
I downloaded the PCAN Basic but I can’t read the documentation file PCANBasic_enu.chm. I see the table of context, but when I try to select a topic I only see “Navigation to the webpage was canceled” message. By the way, the PCAN-View Help is not working too.
I couldn’t figure out by ...
I downloaded the PCAN Basic but I can’t read the documentation file PCANBasic_enu.chm. I see the table of context, but when I try to select a topic I only see “Navigation to the webpage was canceled” message. By the way, the PCAN-View Help is not working too.
I couldn’t figure out by ...
- Sun 16. Jan 2011, 00:54
- Forum: PCAN-View
- Topic: Transmitting messages in required order
- Replies: 16
- Views: 60638
Re: Transmitting messages in required order
Hi Uwe,
Thanks for the prompt reply.
It is surprising to hear that sending a list of ordered messages is not supported. I would have thought, that this is a basic and more common function compared to the scheduled features supported by default.
I will do some more reading about PCAN-Basic API before ...
Thanks for the prompt reply.
It is surprising to hear that sending a list of ordered messages is not supported. I would have thought, that this is a basic and more common function compared to the scheduled features supported by default.
I will do some more reading about PCAN-Basic API before ...
- Sat 15. Jan 2011, 04:01
- Forum: PCAN-View
- Topic: Transmitting messages in required order
- Replies: 16
- Views: 60638
Transmitting messages in required order
Hi,
I use PEAK USB interface with PCAN-View version 3.0.8.157.
I have created transmit file (*.xmt) with CAN messages in a specific order to be sent by PCAN-View.
When I load the file in PCAN-View, the list of messages is reorder (sorted) starting with the message with the lowest CAN ID number. If ...
I use PEAK USB interface with PCAN-View version 3.0.8.157.
I have created transmit file (*.xmt) with CAN messages in a specific order to be sent by PCAN-View.
When I load the file in PCAN-View, the list of messages is reorder (sorted) starting with the message with the lowest CAN ID number. If ...