Skip to main content

EXEC CMD

adminLess than 1 minute

EXEC CMD.vi

Execute Python command string like IPython. CMD string supports new line. Type "enter" in LabVIEW string controls to enter a new line.

CMD string supports indent (\t). Type two "space" in LabVIEW string controls to enter one indent. Python will convert the space code after a new line code into indent. Similarly, 4 space will convert into two indent.

pykit-for-labview.lvlib:EXEC CMD.vi
pykit-for-labview.lvlib:EXEC CMD.vi
type
descriptions
cdatavalrefPykit Session In
specifies a reference to the Python session.
cstrCMD
python command string to execute.
cerrcodeclsterror in
error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.
Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.
type
descriptions
idatavalrefPykit Session out
returns a reference to the Python session.
ierrcodeclsterror out
contains error information.
Last update:
Contributors: ZHUO DIAO