LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labviw call python and build applications

Solved!
Go to solution
Highlighted

I'm calling python with labviw,E.g “PythonNode_AddTwoDoubles.vi”.
In vi, it is able to operate normally.

OK.jpg

But when I build the application,error 1663 will occur. and .py has been added to the source file.

1.jpg2.jpg

How should the relevant configuration file?

0 Kudos
Message 1 of 5
(166 Views)

I assume the path is wrong. It will end up in the data directory of the executable by default.

 

Add some path checking and error checking\reporting to the code, and you'll get more feedback.

0 Kudos
Message 2 of 5
(111 Views)

Thank you very much for your reply.

 

360截图17860606647496.jpg

But I have Python module path is specified as a constant, the error 1663 still exists

0 Kudos
Message 3 of 5
(65 Views)

And ERROR1663 will appear when open Python node by EXE.

360截图17571114403744.jpg360截图18720123107105134.jpg

0 Kudos
Message 4 of 5
(61 Views)
Solution
Accepted by topic author Humbert1985
Thank you very much for your reply I have solved this problem 1) Python Labview 32bit,Win10 64bit,Vi is Ok,EXE is Error 2) Python Labview Win10 64bit,Vi and EXE is Ok
Message 5 of 5
(38 Views)