Search found 2 matches
- Wed 9. Oct 2024, 21:25
- Forum: PCAN-USB Pro FD
- Topic: Receiving sent message in PLIN API with C#
- Replies: 3
- Views: 3879
Re: Receiving sent message in PLIN API with C#
I got it working by calling Read twice, or using ReadMulti and filtering the resulting array. I'll be going with the latter in production code.
- Tue 8. Oct 2024, 16:19
- Forum: PCAN-USB Pro FD
- Topic: Receiving sent message in PLIN API with C#
- Replies: 3
- Views: 3879
Receiving sent message in PLIN API with C#
I have the following code
byte hClient = 0;
PLinApi.RegisterClient("LINQPad", 1, ref hClient);
PLinApi.ConnectClient(hClient, 1);
PLinApi.InitializeHardware(hClient, 1, TLINHardwareMode.modMaster, 16920);
PLinApi.SetClientFilter(hClient, 1, 0xffffffffffffffff);
var sendMsg = new TLINMsg
{
FrameId ...
byte hClient = 0;
PLinApi.RegisterClient("LINQPad", 1, ref hClient);
PLinApi.ConnectClient(hClient, 1);
PLinApi.InitializeHardware(hClient, 1, TLINHardwareMode.modMaster, 16920);
PLinApi.SetClientFilter(hClient, 1, 0xffffffffffffffff);
var sendMsg = new TLINMsg
{
FrameId ...