05-20-2021 08:42 AM
I got a problem when I call python code, I can run the VI smoothly before build the program to exe.however, after build the project into exe,the exe will got an error, the error code is 1663.Now I don't konw how to solve it?
05-20-2021 10:30 AM
05-21-2021 02:02 AM
I solved this problem.I write the VI by labview 2018 32bits. when I switch it to 64bits,this problem disappeared.So I think the answer of the question is the labview's bits.
05-21-2021 10:36 AM
Yes, the "bitness" must match. Both LabVIEW and Python have to have trhe same bitness.
12-07-2022 05:48 PM
How did you build the application? Can you show the process and files. I'm building a .exe from a LabVIEW VI that has three python nodes inside. The VI works perfect in Dev mode. When I run the .exe I don't get any errors but the python nodes don't execute (something like a "pass" line is run instead). I bet it has to do with the path to the python files although I'm using an absolute path. Also, under "Source Files" I mark the python files as "always included". I'm calling just one .py file (3 different functions - 3 python nodes) but that file imports custom modules.