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: 

LabView error code 1672 - How Python Returns Arrays

I want to call Python to return an array, but labview always prompts 1672 error. Both labview and Python are 64 bit, and the Python version is 3.6. Here is the program diagram1.png2.png3.png

0 Kudos
Message 1 of 3
(1,872 Views)

You wrote Python code, ran the Python code (presumably in Python), and LabVIEW told you that you have a Python error.  I don't know Python, but I suspect that (are you ready for this?) you have a Python error.  Try posting this code on a Python Forum.  When you can get Python to return without an error (by fixing the Python "problem", then try running your "LabVIEW calls Python" example with the working Python code.

 

Bob Schor

0 Kudos
Message 2 of 3
(1,830 Views)

@Bob_Schor wrote:

(are you ready for this?) you have a Python error.


 

Possibly not...

 

https://www.ni.com/en/support/documentation/bugs/23/labview-2023-q1-bug-fixes.html#:~:text=LabVIEW%2....

0 Kudos
Message 3 of 3
(1,381 Views)