LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Issues with LabView/Python connectivity

Hi there,

I'm currently trying to call a simple function from a python .py file to run in my LabView 2021. However, when I try running the VI, I get the following error:

 

Error 1761 occurred at Open Python Session in Python Integration sample.vi: LabVIEW: (Hex 0x6E1) The Python DLL of the specified version cannot be loaded at the specified path. Possible reasons include bitness mismatch between Python DLL and LabVIEW that opens the Python session, or a corrupt Python DLL file.

 

Initially, I thought that this was a bitness issue, but my python and LabView are both 64-bit installations. I know that the code and LabView counterparts should work as I am following a YouTube tutorial, so I believe it's an issue with my Path locations perhaps. I've tried installing python 3.10, and already have an existing 3.9 installation but LabView cannot find either of these DLL files.

 

Thanks in advance for any suggestions.

 

Message 1 of 2
(1,810 Views)

Just as further information: I've now tried Python 3.6 and added it to the system path with the name 'C:\Python3.6' as per the documentation. I am still getting the same error though.

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