Python Functions

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

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 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.


Not Helpful