Configure Method Dialog Box

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

Requires: Professional System

In the Project Explorer window, right-click the method in the XControl library and select Configure Method from the shortcut menu to display this dialog box. You also can select a method in the Item Settings section of the XControls Properties dialog box and click the Configure Parameters button to display this dialog box.

Use this dialog box to define the parameters of a method in an XControl library.

This dialog box includes the following components:

  • Localized Name—Defines the name of the method. By default, the method and the method VI have the same name. Remove the checkmark from the Same as VI name checkbox to specify a different name for the method. The method name can be translated to the local language.
  • Same as VI name—Uses the VI name for the name of the method.
  • Parameters—Lists the current parameters for the VI prototype. You can configure the Parameters list using the following buttons along the right side of the Parameters list. return value is a required parameter that you cannot delete.
    Note  If you want to include a control or indicator as a parameter, you must use the connector pane of the VI to configure it as an input or output.
    • Add—Adds a parameter from the controls and indicators of the VI. If you did not set up the connector pane for the VI, the Add button is dimmed.
    • Delete the selected parameter—Deletes the selected parameter from the Parameters list.
    • Move the selected parameter up one—Moves the selected parameter up one level in the Parameters list, which modifies the order of the parameters in the function prototype.
    • Move the selected parameter down one—Moves the selected parameter down one level in the Parameters list, which modifies the order of the parameters in the function prototype.
  • Current Parameter—Allows you to configure the settings for the selected parameter. You can change the type to input, output, or input/output; select the VI control or indicator; and specify if the parameter is optional or required. LabVIEW provides only valid options for each parameter.
    • Parameter Type—Specifies if the parameter is an input, output, or input/output parameter. If you select the Input/Output option, the parameter must have a control/indicator pair with the same data type.
    • Optional?—Specifies if the current parameter is optional or required.
    • VI Input—Associates an input of the VI with the current parameter.
    • VI Output—Associates an output of the VI with the current parameter.

WAS THIS ARTICLE HELPFUL?

Not Helpful