Hi,
I'm making a tool using PLIN API for collection LIN data.
When I'm monitoring through PLIN view, it is possible to collect the data.
I proceeded to register the client and initialize the hardware connection.
Then, I try to read the data, but the error appears(error code is 3) that the queue is empty.
What should I do?
I use 'TLINRcvMsg' and 'Read' structure.
How to using PLIN API
Re: How to using PLIN API
Hi,
which PLIN hardware do you use?
regards
Michael
which PLIN hardware do you use?
regards
Michael
Re: How to using PLIN API
Accessing the LIN line connected to the ECU and collecting data using the PLIN-USB.
Re: How to using PLIN API
Hi,
did you open the filter with SetClientFilter()?
Please see help of PLIN-API for more details (Section 3.1.3 Configuring a Client) : https://www.peak-system.com/produktcd/D ... PI_enu.pdf
regards
Michael
did you open the filter with SetClientFilter()?
Please see help of PLIN-API for more details (Section 3.1.3 Configuring a Client) : https://www.peak-system.com/produktcd/D ... PI_enu.pdf
regards
Michael
Re: How to using PLIN API
Hi,
I solve this problem.
I didn't use a SetClientFilter method.
Thank you so much !
I can collect data using PLIN api now.
But, when I checked data, length and the length of the data are different.
Is the length a value for valid data,
and the additional data being displayed in the data frame shows the value indicating that the valid data is over and the padding value?
Thank you for reading this.
I solve this problem.
I didn't use a SetClientFilter method.
Thank you so much !
I can collect data using PLIN api now.
But, when I checked data, length and the length of the data are different.
Is the length a value for valid data,
and the additional data being displayed in the data frame shows the value indicating that the valid data is over and the padding value?
Thank you for reading this.
Re: How to using PLIN API
Hi,
you must set the length of the used message according to the definition in your ldf file.
regards
Michael
you must set the length of the used message according to the definition in your ldf file.
regards
Michael