CVIParameters.New

Syntax

CVIParameters.New( index, parameterName, parameterValueExpr, parameterCategory, parameterPass, parameterType)

Purpose

Adds a new parameter to the collection.

Parameters

index As Long

[In] Specifies the zero-based index of where to insert the parameter.

parameterName As String

[In] Specifies the name assigned to the new parameter.

parameterValueExpr As String

[In] Specifies the argument expression.

If the parameter is an input, this expression corresponds to the value to pass. If the parameter is an output, this expression specifies where to store the result value.

parameterCategory As CVIParameterCategories

[In] Specifies the parameter category.

parameterPass As CommonCParameterPassOptions

[In] Specifies how to pass the value specified in the argument expression property, CommonCParameter.ValueExpr , to the specific function and sets the CommonCParameter.Pass property.

parameterType As CommonCParameterTypes

[In] Specifies the parameter type.

See Also

CommonCParameter.Pass

CommonCParameter.ValueExpr

CommonCParameterPassOptions

CommonCParameterTypes

CVIParameterCategories