Override terminal defaults Dialog Box

Note In LabVIEW 2013, you no longer configure Web services via build specifications. You can continue to use this dialog box and the current build specification, or you can convert the build specification to the new format. To download the conversion tool, visit the National Instruments website.

Click the Override terminal defaults button on the URL Mappings page of the Web Service Properties dialog box to display this dialog box. Use this dialog box to override the terminal defaults for the selected Web method VI. You must configure input parameters for the selected Web method VI to view this dialog box.

This page includes the following components:

Option Description
Add default override Displays configuration options to assign a default value to available controls within the Web method VI.
  • VI terminal

    Displays all connector pane inputs within the Web method VI in a pull-down menu.

  • Value

    Configures a new default value for the specified control. LabVIEW represents this value as a string data type as opposed to the native data type of the control, such as an integer.

  • Add Default

    Assigns the override value to the specified terminal.

VI terminal defaults

Displays a list of all controls in the Web method VI with an overriding default value.

Remove Default

Removes the selected override default value.

Overriding the terminal default values allows you to restrict one or more input terminal values for a specific URL mapping. For example, if a VI adds two numeric controls, x and y, you can configure the URL mapping to always assign a specific value to one of these controls.

By overriding the terminal default value for x to 1, you can guarantee that the URL mapping always assigns that value to the control. For example, you can set a URL mapping, /add/:x/:y that requires the client to submit values for both numeric controls. By overriding the terminal default value for x with the value 1, you can create a URL mapping for the same Web method VI, /add_one/:y that requires the client to submit a value for only one numeric control. Overriding terminal default values is one way for you to use a single Web method VI with several customized interfaces.