Home Writing hardware plugins for LabVIEW
Reply: 1

Writing hardware plugins for LabVIEW

user1296153
1#
user1296153 Published in 2017-12-07 22:54:56Z

Hi I am fairly new to LabVIEW but I have been asked to write a plugin for LabVIEW to control some hardware devices. After some research I see LabVIEW uses .NET so I was wondering if it makes sense to create a wrapper in .NET or call the dll library through C/C++ wrapper.

  1. Has anyone experimented ?
  2. What are the advantages and disadvantages ?
  3. Why you decided to go with this ?

Thank you,

kmc
2#
kmc Reply to 2017-12-12 22:41:36Z

First: have you checked to see if there's already a LabVIEW library available? This is a very common thing to do, so what I've learned is, there's always a good chance someone else has already done it and made it available. Second: I prefer whenever possible to write the drivers just using LabVIEW because, if you call the .dll, that's another thing you have to maintain. In my experience, even when it's the right choice for one reason or another, calling a .dll from LabVIEW always causes some hullabaloo down the line compared to communicating with the hardware directly from LabVIEW. What does the camera's manual say about its communication protocols?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.340231 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO