AddAbility Method

LabView ActiveX Properties and Methods

AddAbility Method

Installed With: Base Package

Class: XInterfaceLibrary Methods (ActiveX)

Creates a new ability of the specified type.

Syntax

object.AddAbility(name, [viPath], [folder])

Parameters

NameTypeDescription
nameStringName for the ability you want to create.
viPathpathIf you specify viPath, LabVIEW uses an existing VI for the ability. If you do not specify viPath, LabVIEW creates a new VI for the ability.
folderProjectItem*Creates the ability in the specified folder.

Return Value

ProjectItem*