Add Argument
About 1 min
Add Argument.vi
This subVI is used for adding argument value of python function that will be called by Call Py Method.vi If the python function has multiple arguments, you can stack argument values by declaration order of your python script by using the multiple subVIs. Wiring the "Argument Object Variant Out" terminal of previous subVI to the "Argument Object Variant In" terminal of next subVI can make a list that stacks the argument values. Also, you can simultaneously wire argument value and apply the key name to apply the argument value corresponding to the argument name of the python function.

type | descriptions |
---|---|
![]() | Pykit Session In specifies a reference to the Python session. |
![]() | Keyname specifies the argument value name of the python function. |
![]() | Argument The argument value that will be applied to the python method. Since the variable type is Variant, it supports almost variable type in LabVIEW. For information about supported variable type, please see variable_transfer.html |
![]() | Argument Object Variant In The argument list which has been stacked by using this subVI. |
![]() | 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 |
![]() | Argument Object Variant Out The argument list which contains the value in "Argument Object Variant Out" and the new added "Argument". |
![]() | error out contains error information. |