Found the issue, I had to set the hardware parameters after the connection was established otherwise the client handle was wrong.
Thanks for your help and I will post in correct section next time around.
Search found 3 matches
- Mon 25. Jul 2022, 16:47
- Forum: PCAN-LIN
- Topic: Change DEL SYNC Break Delimiter
- Replies: 8
- Views: 8573
- Mon 25. Jul 2022, 14:27
- Forum: PCAN-LIN
- Topic: Change DEL SYNC Break Delimiter
- Replies: 8
- Views: 8573
Re: Change DEL SYNC Break Delimiter
Hi Michael,
I am using the PLIN-USB and the PLIN-API is v2.8.1.167
Also I am programming in c#.
Thanks
Steve
I am using the PLIN-USB and the PLIN-API is v2.8.1.167
Also I am programming in c#.
Thanks
Steve
- Mon 25. Jul 2022, 13:37
- Forum: PCAN-LIN
- Topic: Change DEL SYNC Break Delimiter
- Replies: 8
- Views: 8573
Re: Change DEL SYNC Break Delimiter
Hello,
I am trying to change the hwpBreakLength but I keep getting an 'errWrongParameterValue' error. Here is the snippet of code I am using to read the break length, attempt to write and then confirm the change with a read again:
int break_length, break_set;
break_set = 20;
Peak.Lin.PLinApi ...
I am trying to change the hwpBreakLength but I keep getting an 'errWrongParameterValue' error. Here is the snippet of code I am using to read the break length, attempt to write and then confirm the change with a read again:
int break_length, break_set;
break_set = 20;
Peak.Lin.PLinApi ...