Fojtik wrote: did not find any equivalent of function CAN_SetRcvEvent()
are you sure you have tried to search for it?
did you read the *.chm help file?

- TPCANParameter page
- RcvEvent1.PNG (37.71 KiB) Viewed 8823 times
or at least the introduction of it?

- Help Introduction - Reading with events
- RcvEvent0.PNG (47.09 KiB) Viewed 8823 times
did you check the example code?
Code: Select all
// Sets the handle of the Receive-Event.
//
stsResult = m_objPCANBasic->SetValue(m_PcanHandle, PCAN_RECEIVE_EVENT ,&m_hEvent, sizeof(m_hEvent));
// If it fails, a error message is shown
//
if (stsResult != PCAN_ERROR_OK)
{
::MessageBox(NULL, GetFormatedError(stsResult), "Error!",MB_ICONERROR);
m_Terminated = true;
return 1;
}
// While this mode is selected
//
while(!m_Terminated)
{
//Wait for CAN Data...
result = WaitForSingleObject(m_hEvent, 1);
if (result == WAIT_OBJECT_0)
ReadMessages();
}
did you tried to run any of the examples? there is even an exe within the PCAN-Basic package... double click and you can see it

- Executable file within the PCAN-Basic package
- RcvEvent4.PNG (16.81 KiB) Viewed 8823 times
or maybe the dedicated PDF Help file for parameters:

- PDF help file
- RcvEvent3.PNG (74.29 KiB) Viewed 8823 times
check again... maybe you can find it now....