Hello,
I keep getting Peak.Lin.TLINMsgErrors.IdParityBit1 | Peak.Lin.TLINMsgErrors.SlaveNOtResponding returned from PLinApi.Read.
About IdParityBit1
I cannot see which ID you are using, but I guess you are using as ID a number between 0 and 63. Note that you have to use the ID with Parity . In ...
Search found 8 matches
- Thu 1. Dec 2016, 20:52
- Forum: PLIN-API
- Topic: Peak.Lin.TLINMsgErrors.IdP when Calling Read()
- Replies: 2
- Views: 7060
- Thu 1. Dec 2016, 20:16
- Forum: PLIN-API
- Topic: How to calculate LIN message time?
- Replies: 3
- Views: 8663
Re: How to calculate LIN message time?
Well it writing asynchronously to the driver may explain what's going on. I think I may have been reading in old messages in the read buffer.
Is there a way to clear the read buffer before writing to ensure the next message I read is the response?
Here is my code for my query method. If you want ...
Is there a way to clear the read buffer before writing to ensure the next message I read is the response?
Here is my code for my query method. If you want ...
- Thu 1. Dec 2016, 15:53
- Forum: PLIN-API
- Topic: How to calculate LIN message time?
- Replies: 3
- Views: 8663
How to calculate LIN message time?
So I am using a PCAN USB Pro. I am getting about 0.5msec to 1.5 msec message time when recorded in my code. (start stopwatch, send query (call write), (read until response), receive response, stop stopwatch.)
Baud rate is 9600
however that seems to be shorter than the theoretically message time ...
Baud rate is 9600
however that seems to be shorter than the theoretically message time ...
- Thu 3. Nov 2016, 20:07
- Forum: PLIN-API
- Topic: Peak.Lin.TLINMsgErrors.IdP when Calling Read()
- Replies: 2
- Views: 7060
Peak.Lin.TLINMsgErrors.IdP when Calling Read()
I've written a wrapper in C# to go around PLinApi.
I keep getting Peak.Lin.TLINMsgErrors.IdParityBit1 | Peak.Lin.TLINMsgErrors.SlaveNOtResponding returned from PLinApi.Read.
Not sure what IdParityBit is.
public class PeakLIN_Adapter : IAdapter
{
private ushort handle = 1;
byte hClient ...
I keep getting Peak.Lin.TLINMsgErrors.IdParityBit1 | Peak.Lin.TLINMsgErrors.SlaveNOtResponding returned from PLinApi.Read.
Not sure what IdParityBit is.
public class PeakLIN_Adapter : IAdapter
{
private ushort handle = 1;
byte hClient ...
- Wed 2. Nov 2016, 17:51
- Forum: Software
- Topic: Where can I download PLIN-View Pro?
- Replies: 2
- Views: 4651
Re: Where can I download PLIN-View Pro?
Thank you!
- Wed 2. Nov 2016, 17:40
- Forum: Software
- Topic: Where can I download PLIN-View Pro?
- Replies: 2
- Views: 4651
Where can I download PLIN-View Pro?
I have downloaded PCAN-USB Pro FD package from here http://www.peak-system.com/PLIN-View-Pro.243.0.html?&L=1 Which says "Package contains device drivers for Windows® 10, 8.1, 7 (32/64-bit), the PCAN-Basic API, the PLIN-API, the CAN monitor PCAN-View, the LIN monitor PLIN-View Pro , and documentation ...
- Mon 31. Oct 2016, 12:53
- Forum: PLIN-API
- Topic: Write Confirmation With LIN-API
- Replies: 2
- Views: 5101
Re: Write Confirmation With LIN-API
OK thank you
- Fri 28. Oct 2016, 19:48
- Forum: PLIN-API
- Topic: Write Confirmation With LIN-API
- Replies: 2
- Views: 5101
Write Confirmation With LIN-API
I am using .net to write a high level api for the PCAN-USB Pro FD for LIN. I would like to know if writes to a LIN slave are guaranteed or if I need to do a read afterward to confirm that the writes have been applied. I'm used to working with modbus where a read after write is needed.