Hi, what error do you receive when you call the DLL? It's important to remember that when calling DLLs in LabVIEW, you must preallocate any necessary memory in LabVIEW to pass to the DLL. For example, if your application returns some data, then you must preallocate enough memory to receive that data from LabVIEW. To do this, you would just initialize an array of data to some size and pass the array into the call library function node. Another problem is complex user defined data types. If you are calling something that has some complex structure, you may be better off creating a wrapper dll in CVI that allows you to call the DLL in LabVIEW using lower level data types, and then the wrapper will combine and form the structure that the actual d
ll wants.
Jeremy L.
National Instruments
Jeremy L.
National Instruments