LabVIEW and the PLin API

The free LIN software API (Application Programming Interface) for Windows® (only for usage with the PCAN-USB Pro CAN/LIN interface)
Post Reply
Nsrobertson
Posts: 1
Joined: Wed 4. Jul 2012, 20:05

LabVIEW and the PLin API

Post by Nsrobertson » Wed 4. Jul 2012, 20:19

I'm using the pcan USB pro device for a project which involves LIN and CAN. I'd like to use Labview to send LIN messages via the .net but I'm getting an error. Can anyone confirm whether the PLin API was built to work with .net? Has anyone got this working with Labview?

K.Wagner
Software Development
Software Development
Posts: 732
Joined: Wed 22. Sep 2010, 13:36

Re: LabVIEW and the PLin API

Post by K.Wagner » Thu 5. Jul 2012, 08:28

Hello Nsrobertson,
Nsrobertson wrote:Can anyone confirm whether the PLin API was built to work with .net?
Yes, it works with .Net. The PLIN-Api, as well as other Apis we offer, comes with header files / assemblies for the most common programming languages, including .Net (VB.Net, C#).
Nsrobertson wrote: Has anyone got this working with Labview?
We do not support directly LabVIEW, but you are free to write your own VI (virtual instrument) that encapsulates the API calls. The difficulty level tied to the generation of this VI depends on the version of LabVIEw you are using and your LabVIEW skills.
Nsrobertson wrote:I'd like to use Labview to send LIN messages via the .net but I'm getting an error.
We could not do support for LabView related problems. Please understand that we offer a DLL which we test for "real" programming languages. If you like to use the LabView or any othe Softwaretool on Top, you need to be sure that you know how to implement a simple DLL to this packages.

:!: Info: We only know that the latest LabVIEW version (2011) has a wizard option that takes a dll and a header file as input and generates the corresponding VI. Maybe this helps you to find the problem on your project.
Best regards,
Keneth

Post Reply