08-06-2018 04:01 PM
I am trying to communicate back and forth from a dll created using Labview with a Labview vi. I can send a message to the dll but I can't get the message back from the dll. Any help would be appreciated.
Here is my main vi that sends a message and tries to receive a message from the dll.
Here is the vi that I turn into a dll with Labview. I can see the message come from my main vi but I can't send it back.
08-09-2018 04:40 PM
Hi Dandrews17,
I think one thing that might help is configuring your DLL to have a return value of message out. I'm not sure how the nested event structure that you have would affect this behavior but might be a cause of why we never see a return message. What is the ultimate goal of your application?
Here is the knowledge base article on calling dlls just for reference:
Calling a Dynamic Link Library (DLL) from LabVIEW
Best,
TyVo