@Yamaeda wrote:
DLL's are for using C# code within a LV program, that's not what you're doing.
Actually DLLs are strictly speaking normally shared libraries exporting standard C functions. They get interfaced with the Call Library Node. .Net libraries (written in C#, VB or whatever) are normally called assemblies, although the are usually packaged in a file with a DLL extension, but they are VERY different from normal shared libraries.To access .Net assemblies you use the .Net Nodes in LabVIEW. In LabVIEW you can create normal DLLs or .Net assemblies from VIs.
It's probably possible with some involved magic to write normal DLLs in C# but most likely a pain in the ass and a quite useless exercise. And if you want to call a normal DLL from C# you have to use unmanaged interface, which is also a pain in the ass, since you have to worry about the same things as when you use the Call Library Node to interface to a DLL.