Error 1671 Occurred When Using Python Node in LabVIEW

Updated Oct 25, 2023

Reported In

Software

  • LabVIEW

Issue Details

I am using LabVIEW 2020 with Python 3.11 and I am trying to send arrays through Python function. However LabVIEW returns the following error.
Error 1671 occurred at Python Node in Sending_Array_to_Py.vi

Solution

This issue is caused due to an incompatibility error. To determine which version of Python is compatible with your LabVIEW version, you can review the LabVIEW and Python Compatibility table.

Note: This functionality was introduced in LabVIEW 2018 and is not available in previous versions. Although unsupported versions might work with the LabVIEW Python functions, NI recommends using supported versions of Python only.

Additional Information

You must install Python to use the LabVIEW Python functions; and to run the Python code, LabVIEW requires the Python shared libraries in the system path. 

Before you begin:

  • Use the LabVIEW and Python Compatibility table to determine which supported version of Python to install.
  • Ensure that the bitness of Python corresponds to the bitness of LabVIEW installed on the machine.