Python Functions

Owning Palette: Connectivity VIs and Functions

Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Python functions to call Python code from LabVIEW.

Note  NI recommends that you use supported versions of Python only, though unsupported versions might work with the LabVIEW Python functions. Visit ni.com/info and enter the Info Code python to learn more about the requirements for installing Python.
Palette ObjectDescription
Close Python SessionCloses a Python session.
Open Python SessionOpens a Python session with a specific version of Python.

The Python session is necessary for configuring multiple Python Nodes to run in a specific version of Python and in the same process.
Python NodeCalls a Python function directly.