Hello,
I am new to PCAN-LIN. I have experience with PCAN-CAN, but LIN is totally different. Do you have link to examples (creating simple SLAVE, MASTER, like for CAN)? I see your documentation, but there are no examples.
Thank you in advance.
Ales
** Info from ADMIN - Topic moved to PLINA API **
PCAN-LIN examples
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: PCAN-LIN examples
* Will be moved later on to the correct Topic *
If you use the PCAN-Lin - it is a PC Independent stand alone Hardware - you need to know LIN very well to setup the Device with the LIN Config ool (via RS232)
There is NO PC API available - the Unit will be configured
If you use a PLIN-USB - it is a PC based LIN Module - we have API Samples for this unit
There is a Windows PC API available - see Download Section.
Which unit are you using ?!?
If you use the PCAN-Lin - it is a PC Independent stand alone Hardware - you need to know LIN very well to setup the Device with the LIN Config ool (via RS232)
There is NO PC API available - the Unit will be configured
If you use a PLIN-USB - it is a PC based LIN Module - we have API Samples for this unit
There is a Windows PC API available - see Download Section.
Which unit are you using ?!?
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
Re: PCAN-LIN examples
Hello,
I am using PCAN-USB Pro. I have already downloaded PLIN API and embedded to c++ API, but I am looking for some examples.
Aleš
I am using PCAN-USB Pro. I have already downloaded PLIN API and embedded to c++ API, but I am looking for some examples.
Aleš
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: PCAN-LIN examples
PCAN-USB Pro include 2 x CAN 2.0a/b and 2 x LIN
For communication with the LIN channels, please check the sample code we provide for the PLIN API
There is a download section with the complete package.
All is well documented and we offer Sample Code for C#/C++_Builder/C++_CLR/C++_MFC/Delphi/Python/VB.NET
Maybe next time, when you post here...
- post in corect categorie
- post the exact Hardware that you want to use
- post in simple word what is the problem..
that will speed up everythink and save time!
For communication with the LIN channels, please check the sample code we provide for the PLIN API
There is a download section with the complete package.
All is well documented and we offer Sample Code for C#/C++_Builder/C++_CLR/C++_MFC/Delphi/Python/VB.NET
Maybe next time, when you post here...
- post in corect categorie
- post the exact Hardware that you want to use
- post in simple word what is the problem..
that will speed up everythink and save time!
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
Re: PCAN-LIN examples
Please read again what I am asking for, you responsed me to different thing (I also wrote you that I have PLIN API downloaded). Examples of using method are missing in documentation (in CAN case there are samples of code to almost every method f. ex. CAN_Write() CAN_Read...). So if answer is no and you have only source code to demo application, than you do not have what I am looking for.
Also I do not understand why is your LIN api dll more complicated than CAN PcanBasic api dll. For example in CAN it is possible to init CAN by Initialize() method, in LIN you have to use LIN_RegisterClient(), LIN_GetAvailableHardware(), LIN_ConnectClient() and LIN_InitializeHardware(). CAN is more sophisticated protocol, it seems like CAN was made by better programmer. This simplicity was for me benefit which Vector products do not have.
Aleš
Also I do not understand why is your LIN api dll more complicated than CAN PcanBasic api dll. For example in CAN it is possible to init CAN by Initialize() method, in LIN you have to use LIN_RegisterClient(), LIN_GetAvailableHardware(), LIN_ConnectClient() and LIN_InitializeHardware(). CAN is more sophisticated protocol, it seems like CAN was made by better programmer. This simplicity was for me benefit which Vector products do not have.
Aleš
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: PCAN-LIN examples
Puhh, looks like you never worked before with LIN, which is much more dificulty as CAN.
But it is up to you - if ou think that we do a bad job - OK - thousends of other customers are happy and use the PLIN API as Master or Slave since many years without any problem.
Without a minimum LIN knowledge it is not fair to wrote that the CAN API was made by a "better programmer" it is more that we build a simply CAN API for the newbees, with LIN this is not possible because of the more complicated protocol structure. But feel free to use Vector Tools, maybe they have a LIN API for beginners.
- closed -
But it is up to you - if ou think that we do a bad job - OK - thousends of other customers are happy and use the PLIN API as Master or Slave since many years without any problem.
Without a minimum LIN knowledge it is not fair to wrote that the CAN API was made by a "better programmer" it is more that we build a simply CAN API for the newbees, with LIN this is not possible because of the more complicated protocol structure. But feel free to use Vector Tools, maybe they have a LIN API for beginners.
- closed -
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------