LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
LabviewBow

Console for Python Node

Status: New

I am happy that LabVIEW supports Python code with the Python Nodes. But it is difficult to debug errors. A console showing the output of the Python Scripts would be handy.

Enthought's Python Integration Toolkit had this function so I guess it shouldn't be a big thing to add?

 

11 Comments
TeraTech
Member

@Christina_R


It should no longer be necessary to use the console. Please refer to How to Debug Python Code Called From LabVIEW Python Node - NI.


I'm not sure the instructions at the link provided continue to apply. 

I'm using LabVIEW 2023 and doesn't appear to use/launch NIPythonHost.exe It never shows up in Task Manager when the Python Node is called. Additionally, I temporarily renamed the NIPythonHost.exe and ran a VI that called the Python Node and it still functioned correctly.

 

When I did a web search for NIPythonHost there were a number of results mentioning TestStand but very, very few in the context of LabVIEW.  Can you verify that the LabVIEW Python Node uses NIPythonHost.exe and not the niPythonInterface.dll?