LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

With Labview generated DLL doesn't work with Python 3.x

Dear Community,

We generate DLLs from Labview. Unfortunately, these are currently only functional under Python 2.x and do not run under Python 3.x. Unfortunately, we cannot explain the behavior at the moment. We have tested Labview 2020 and 2021, see table.
What could be the reason?

 

dll LabView

Python

Works

Dll_2020 (original)

V 2.7.14

yes

Dll_2020 (original)

V 3.6.8

no

Dll_2020 (original)

V 3.7.7

no

Dll_2020 (original)

V 3.9.9

no

Dll_2020 (original)

V 3.11.

no

Dll_2021

V 2.7.14

yes

Dll_2021

V 3.6.8

no

Dll_2021

V 3.9.9

no

Dll_2021 V2

V 3.9.9

no

     
     
     
0 Kudos
Message 1 of 2
(497 Views)

Unfortunately, these are currently only functional under Python 2.x and do not run under Python 3.x. is quite a generic formulation, which does not give much of a hint, what the problem is.

 

As you changed from python 2.x to 3.x, the starting point should be to check the python documentation for differences, how python calls DLLs.

 

then you find information like this here: https://stackoverflow.com/questions/7256283/differences-in-ctypes-between-python-2-and-3

0 Kudos
Message 2 of 2
(433 Views)