Pop As Variant
About 1 min
Pop As Variant.vi
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. 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.
Notice that this subVI do not provide type conversion, the value of "data" terminals should be converted to labVIEW type by yourself. This subVI can be used when the value type will change depends on the situation in realtime or when you want to implement the original data type. If the variable type is fixed, Pop Return Object.vim is a more versatile solution.

type | descriptions |
---|---|
![]() | Pykit Session In specifies a reference to the Python session. |
![]() | Argument Object Variant 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. |
![]() | error 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 |
---|---|
![]() | Pykit Session out returns a reference to the Python session. |
![]() | Argument Object Out The list that contains return values of the python function but get rid of the extracted data. |
![]() | data the remained data of return value in the python function. |
![]() | Remain Length Number of datas that remain in the return data list. |
![]() | error out contains error information. |