07-07-2016 11:44 AM
Hello,
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 🙂
br,
paalbrok
07-08-2016 07:11 AM
Hi,
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.
Mathan
07-14-2016 06:55 AM
Hi paalbrok,
Is your problem solved? Any updates?
Mathan
07-14-2016 07:23 AM
Hello Mathan,
I found out that I had forgotten to wire the inputs and output to the connector pane.. So now it works:)
br,
paalbrok
07-14-2016 07:31 AM
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?