LabVIEWParameterElement.WireRequirement

Syntax

LabVIEWParameterElement.WireRequirement

Data Type

LabVIEWParameterWireRequirements

Use the following constants with this data type:

  • LVParamWireReq_Optional –(Value: 2) Indicates that the module can use the default value for the parameter instead of passing a value.
  • LVParamWireReq_Recommended –(Value: 1) Indicates that the module can use the default value for the parameter. However, passing a value is recommended.
  • LVParamWireReq_Required –(Value: 0) Indicates that the module must pass a value for the parameter.

Purpose

Indicates whether the parameter is required, recommended, or optional.

Remarks

This method is for convenience and returns the same value the LabVIEWParameter.WireRequirement property returns when called on the parent LabVIEWParameter object.

The LabVIEW Adapter persists this property value when you specify a code module for a step. For an unspecified step, you must call Module.LoadPrototype before retrieving this property.

See Also

LabVIEWParameter.WireRequirement

LabVIEWParameterElement.Direction

LabVIEWParameterWireRequirements

Module.LoadPrototype