ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to output different output types from python module

Hello,

 

Is it possible to output different output types from the python module?

 

That is, to return both a single value and an array?  Is that possible?

 

My python script does it, but how do I get the 'return' values out in LabVIEW?

 

If this is possible in LabVIEW, can you point me in the direction as to how this can be achieved?

 

Sincerely,

hiNi

0 Kudos
Message 1 of 2
(1,087 Views)

I think you can return the data as a cluster. See the shipping example <LabVIEW>\examples\Connectivity\Python\PythonNode_ComputeCrossProduct.vi

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
Message 2 of 2
(1,082 Views)