GetFrameEntry in master mode
Posted: Mon 19. Jun 2023, 16:33
Hi,
I noticed a problem when SetFrameEntry and GetFrameEntry is used in master mode. Let me explain...
First of all, Device is "PCAN-USB Pro FD LIN".
PLIN Manager 3.0.1.227
PLIN Api 3.0.1.227
PLIN_USB 1.7.0.1122 (KMDF 1.15, x64, Universal)
I use .NET framework interface of PLIN api.
Scenario:
- Channel is initialized on "master" mode successfully.
- Then I call SetFrameEntry (frameId=1, Dir=Publisher, Len=3, InitialData={1,2,3,0,0,0,0,0}, Checksum=Enhanced, Flags=FRAME_FLAG_RESPONSE_ENABLE)
- Then I call GetFrameEntry (frameId=1)
-- The returned frame-entry is (Dir=Publisher, Len=3, InitialData={0,0,0,0,0,0,0,0}, Checksum=Enhanced, Flags=FRAME_FLAG_RESPONSE_ENABLE).
Only the InitialData is incorrect. Why? Is initialData not usable in master mode without schedular?
Thank you,
Murat
I noticed a problem when SetFrameEntry and GetFrameEntry is used in master mode. Let me explain...
First of all, Device is "PCAN-USB Pro FD LIN".
PLIN Manager 3.0.1.227
PLIN Api 3.0.1.227
PLIN_USB 1.7.0.1122 (KMDF 1.15, x64, Universal)
I use .NET framework interface of PLIN api.
Scenario:
- Channel is initialized on "master" mode successfully.
- Then I call SetFrameEntry (frameId=1, Dir=Publisher, Len=3, InitialData={1,2,3,0,0,0,0,0}, Checksum=Enhanced, Flags=FRAME_FLAG_RESPONSE_ENABLE)
- Then I call GetFrameEntry (frameId=1)
-- The returned frame-entry is (Dir=Publisher, Len=3, InitialData={0,0,0,0,0,0,0,0}, Checksum=Enhanced, Flags=FRAME_FLAG_RESPONSE_ENABLE).
Only the InitialData is incorrect. Why? Is initialData not usable in master mode without schedular?
Thank you,
Murat