LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview build exe including python node

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?

0 Kudos
Message 1 of 5
(2,069 Views)
Are you running the source code on the same computer as the executable, or a different computer?
0 Kudos
Message 2 of 5
(2,025 Views)

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.

0 Kudos
Message 3 of 5
(1,987 Views)

Yes, the "bitness" must match. Both LabVIEW and Python have to have trhe same bitness.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 4 of 5
(1,969 Views)

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.

0 Kudos
Message 5 of 5
(1,648 Views)