From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
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.
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: