Skip to main content

Pop Return Object

adminAbout 1 min

Pop Return Object.vim

After calling python method, the return values will be added into a list. This subVI can extract the value in the list and spit out a list that does not contain the extracted return value. This VI can convert the return data to LabVIEW support type.

Notice that if there is not any return values that can be extracted, the error will occur. To avoid the error, please check the "Remain Length" before extract next value.

Pop Return Object.vim
Pop Return Object.vim
type
descriptions
cdatavalrefPykit Session In
specifies a reference to the Python session.
cfxdtData Type (default value)
specifies the data type of return data. If conversion failed, "data" terminal will return this value.
cfxdtArgument Object In
The list that contains return values of the python function.
This terminal should be wired from "Argument Object Out" terminal of Call Py Method.vi.
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.
ifxdtArgument Object Out
The list that contains return values of the python function but get rid of the extracted data.
ii32Remain Length
Number of datas that remain in the return data list.
ifxdtdata
the remained data of return value in the python function.
ierrcodeclsterror out
contains error information.
Last update:
Contributors: ZHUO DIAO