05-31-2019 10:00 AM
I'm having an issue with specifying just the return type on this Python node. I have tried wiring a control of type double to the return type terminal of the Python node, but this seems to send both the data type and the value as the return value. For example, the output of the Python node is 0 if I do not modify the return type control. If I set the control to 5, I get 5 as the output from the Python node. I'm sending four inputs to this Python Node as seen in the following picture and returning one output computed in Python, but instead I am just getting the value of the return type for the return value. Any ideas on why this is happening?
Best,
Zach
Solved! Go to Solution.
05-31-2019 12:35 PM
Hopefully this is the same problem solved by this thread: https://forums.ni.com/t5/LabVIEW/Python-Node-Return-Value-Output/m-p/3932630#M1117586
Just posting to prevent multiple threads all being worked on separately.
If that's not the case, please correct me.
05-31-2019 12:40 PM
Correct. Thanks!