I have a bit of a problem. I manage to generate a dll file on a simple addition and multiplication function. The Add VI add 2 doubles together and Muliplication VI multiplicate 2 doubles together. But when I try to read the dll in LabView using "Call Library Function" I don't manage to output correct value as seen from image 3 in attachment. What do I do wrong?
I hope someone can help me 🙂
As observed in image 3, you have called only addition function in one CIN. And hence both outputs arg1 2 and arg 2 2 outputs the proper (addition) result as 2. If you want multiplication output also, kindly add one more CIN with multiplication function call. Kindly let me know if that answers your question or if i had misunderstood your question.
I found out that I had forgotten to wire the inputs and output to the connector pane.. So now it works:)
Glad it worked. But just curious to see your final block diagram&front panel. Could you please share your vi or an image as you did in your first post?