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
Name | Type | Description |
---|---|---|
name | String | Name for the ability you want to create. |
viPath | path | If 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. |
folder | ProjectItem* | Creates the ability in the specified folder. |
Return Value
ProjectItem*