Hello,
I filter with this function that I call after initialization
res = CANTP_AddFiltering_2016(PCANTP_HANDLE_USBBUS1, 0x16D20097, 0x0x16D20098, false,
PCANTP_CAN_MSGTYPE_EXTENDED);
to read I use this function
res = CANTP_Read_2016(PCANTP_HANDLE_USBBUS1, &rx_msg, NULL, PCANTP_MSGTYPE_NONE ...
Search found 22 matches
- Wed 29. Mar 2023, 13:31
- Forum: PCAN-ISO TP
- Topic: filter receive message
- Replies: 1
- Views: 1921
- Thu 23. Mar 2023, 13:45
- Forum: PCAN-UDS
- Topic: read message segment
- Replies: 2
- Views: 1882
Re: read message segment
for instance :
normally I have to receive 2 frames but I receive 4
0x88 CA CA CA 00 00 00 00 00
0x88 00 00 00 00 00 00 00 00
0x88 CA CA CA 00 00 00 00 00
0x88 B2 B0 B1 00 00 00 00 00
I want to receive only the last two frames
normally I have to receive 2 frames but I receive 4
0x88 CA CA CA 00 00 00 00 00
0x88 00 00 00 00 00 00 00 00
0x88 CA CA CA 00 00 00 00 00
0x88 B2 B0 B1 00 00 00 00 00
I want to receive only the last two frames
- Thu 23. Mar 2023, 13:27
- Forum: PCAN-UDS
- Topic: read message segment
- Replies: 2
- Views: 1882
read message segment
Hello,
I notice that when I receive an iso tp message with more than 8 bytes of data,
the function UDS_read_2013() first sends a message which allows us to prevent that we are going to receive a segmented message and then we receive the complete message.
can we delete the message that prevents ...
I notice that when I receive an iso tp message with more than 8 bytes of data,
the function UDS_read_2013() first sends a message which allows us to prevent that we are going to receive a segmented message and then we receive the complete message.
can we delete the message that prevents ...
- Wed 22. Mar 2023, 17:41
- Forum: PCAN-UDS
- Topic: send several frames in succession
- Replies: 3
- Views: 2318
Re: send several frames in succession
Thank you.
I can use PCAN ISO on the same port as PCAN UDS and keep the initialization of the UDS?
I can use PCAN ISO on the same port as PCAN UDS and keep the initialization of the UDS?
- Wed 22. Mar 2023, 14:21
- Forum: PCAN-UDS
- Topic: send several frames in succession
- Replies: 3
- Views: 2318
send several frames in succession
Hello,
I want to send several times a frame with the same identifier but with different data.
I use UDS_write_2013 function.
void CAN_send(uds_msgconfig configuration ,unsigned char DataLength,unsigned char * Data)
{
int i=0;
memset(&tx_msg, 0, sizeof(uds_msg));
status = UDS_MsgAlloc ...
I want to send several times a frame with the same identifier but with different data.
I use UDS_write_2013 function.
void CAN_send(uds_msgconfig configuration ,unsigned char DataLength,unsigned char * Data)
{
int i=0;
memset(&tx_msg, 0, sizeof(uds_msg));
status = UDS_MsgAlloc ...
- Tue 29. Mar 2022, 11:41
- Forum: PLIN-API
- Topic: function to initialize the PCAN PRO USB
- Replies: 3
- Views: 3304
Re: function to initialize the PCAN PRO USB
I read your documentation. but I still don't understand how to tell my program that I want to configure a PCAN PRO USA with the following definitions.
// Hardware Types
//
#define LIN_HW_TYPE_USB 1 // LIN USB type // DEPRECATED
#define LIN_HW_TYPE_USB_PRO 1 // PCAN-USB Pro LIN type
#define LIN_HW ...
// Hardware Types
//
#define LIN_HW_TYPE_USB 1 // LIN USB type // DEPRECATED
#define LIN_HW_TYPE_USB_PRO 1 // PCAN-USB Pro LIN type
#define LIN_HW ...
- Fri 25. Mar 2022, 15:41
- Forum: PLIN-API
- Topic: function to initialize the PCAN PRO USB
- Replies: 3
- Views: 3304
function to initialize the PCAN PRO USB
Hello,
I use a PCAN PRO USB and I develop with CVI.
I wanted to know which function to use to be able to initialize my PCAN USB PRO and thus be able to communicate in LIN with my slave.
Thank you
I use a PCAN PRO USB and I develop with CVI.
I wanted to know which function to use to be able to initialize my PCAN USB PRO and thus be able to communicate in LIN with my slave.
Thank you
- Thu 3. Mar 2022, 16:00
- Forum: PCAN-UDS
- Topic: send a frame faster
- Replies: 9
- Views: 6901
Re: send a frame faster
It's good
thank you very much, your help is very valuable to me.
thank you very much, your help is very valuable to me.
- Thu 3. Mar 2022, 10:42
- Forum: PCAN-UDS
- Topic: use PCAN UDS and PCANBASIC with same PCAN USB PRO
- Replies: 1
- Views: 1746
use PCAN UDS and PCANBASIC with same PCAN USB PRO
Can i use PCAN UDS on chanel 1 and PCANBASIC.h on chanel 2 at the same time.
- Thu 3. Mar 2022, 09:17
- Forum: PCAN-UDS
- Topic: send a frame faster
- Replies: 9
- Views: 6901
Re: send a frame faster
Thank you.
What do you say by assert is ok.
for(i=0;i<8;i++)
{
FIAT_msg.msg.msgdata.can->data =Fiatframe[j];
j=j+1;
if(j==128)
{
j=0;
}
}
status = UDS_Write_2013(PCANTP_HANDLE_USBBUS1, &FIAT_msg);
if (UDS_StatusIsOk_2013(status,0,0))
{
UDS_WaitForSingleMessage_2013(PCANTP ...
What do you say by assert is ok.
for(i=0;i<8;i++)
{
FIAT_msg.msg.msgdata.can->data =Fiatframe[j];
j=j+1;
if(j==128)
{
j=0;
}
}
status = UDS_Write_2013(PCANTP_HANDLE_USBBUS1, &FIAT_msg);
if (UDS_StatusIsOk_2013(status,0,0))
{
UDS_WaitForSingleMessage_2013(PCANTP ...