01-07-2013 12:06 AM
01-07-2013 02:13 AM - edited 01-07-2013 02:14 AM
Hi,
Your DLL is missing in your post.
You can use call Library Function to call any DLL, If you have knowledge about DLL link functions, parameters and data type you can easily create variables.
check some examples of call DLL in LabVIEW and try to develope same.
Check on help menubar of LabVIEW select find examples and typr DLL....
01-07-2013 02:18 AM
double click on the call function node. First tab point to dll and which function, then under parameters you can specify the IO. Matching the C types is not as easy as it seems. Search this website for more details on the advanced types and also the example under communicating with external apps ->using external code->integrating dlls--> call dlls.vi
Hope it helps
01-07-2013 03:03 AM - edited 01-07-2013 03:05 AM
Since you use C# it is likely that your DLLs are not normal standard DLL libraries but rather .Net assemblies. They do not export functions, which the Call Library Node can access, but instead export .Net interfaces that you need to access using the LabVIEW .Net functions.
But there might be some issues with LabVIEW and WPF UI interaction. Both environments do their rather involved own thing with the Windows GUI handling that could bite each other sometimes. So if your WPF library does lots of UI you could run into this.