Project Provider Framework/API VIs

From LabVIEW Wiki
Jump to: navigation, search

The following is a list of all of the API VIs.

mxLvGetAssociatedItems.vi

Returns the items that belong to this project and are associated with one of the file paths.

MxLvGetAssociatedItems.png

mxLvAddIconOverlays.vi

Registers a set of Icon Overlay Aliases and tells the framework where to find the .ico files matching these Aliases.

MxLvAddIconOverlays.png

mxLvDeleteAllProperties.vi

Removes all properties from the property bag for the given Item.

MxLvDeleteAllProperties.png

mxLvDeleteProperty.vi

Removes a property from the property bag for the given Item.

MxLvDeleteProperty.png

mxLvDisplayMessage.vi

Displays a message box for the Provider.

MxLvDisplayMessage.png

mxLvEnumProperties.vi

Enumerates all the properties of the specified item.

MxLvEnumProperties.png

mxLvErrorHandler.vi

Converts an error or warning code to an error cluster. This VI is useful when you receive a return value from a shared library call or when you return user-defined error codes.

MxLvErrorHandler.png

mxLvFilesExist.vi

Checks whether the given files exist or not.

MxLvFilesExist.png

mxLvGenerateGuid.vi

Generates a GUID (a unique identifier).

MxLvGenerateGuid.png

mxLvGetAllDescendentsSFP.vi

Gets all descendents for the given item. It should return the same results as the ProjectItem:Get All Descendents method with the default values. NOTE: This VI only works during the Provider_OnSaveForPreviousEx call.

MxLvGetAllDescendentsSFP.png

mxLvGetBinaryProperty.vi

Retrieves a binary property from the property bag for the given Item.

MxLvGetBinaryProperty.png

mxLvGetBooleanProperty.vi

Retrieves a Boolean property from the property bag for the given Item.

MxLvGetBooleanProperty.png

mxLvGetFilePath.vi

Gets the file path for the current Item.

MxLvGetFilePath.png

mxLvGetFilePathBatch.vi

Gets the file paths for the specified Items.

MxLvGetFilePathBatch.png

mxLvGetIntProperty.vi

Retrieves an Integer property from the property bag for the given Item.

MxLvGetIntProperty.png

mxLvGetIntPropertyBatch.vi

Retrieves the values for the Integer property from the property bag for the given Items.

MxLvGetIntPropertyBatch.png

mxLvGetItem.vi

Given a NIIM gets the associated Item. NIIM is a cluster of Item URL Item ID Item Index and the Specific Type. Refer mxLvNIIM.ctl in the <LabVIEW>/resource/Framework/Providers/API directory.

MxLvGetItem.png

mxLvGetItemBatch.vi

Given a list of NIIMs gets the associated Items.

MxLvGetItemBatch.png

mxLvGetItemFromItemIDSFP.vi

Returns the Item for the specified Item ID. This VI only works during the Provider_OnSaveForPreviousEx call.

MxLvGetItemFromItemIDSFP.png

mxLvGetItemIDFromItemSFP.vi

Returns the Item ID for an Item. This VI only works during the Provider_OnSaveForPreviousEx call.

MxLvGetItemIDFromItemSFP.png

mxLvGetItemRef.vi

Given an item gets the associated item refnum.

MxLvGetItemRef.png

mxLvGetNIIM.vi

Given an item gets the associated NIIM.

MxLvGetNIIM.png

mxLvGetNIIMBatch.vi

Given a list of items gets the associated NIIMs.

MxLvGetNIIMBatch.png

mxLvGetPathProperty.vi

Retrieves a path property from the property bag for the given Item.

MxLvGetPathProperty.png

mxLvGetProjectPath.vi

Gets the path to the project that the item belongs to.

MxLvGetProjectPath.png

mxLvGetProjectRef.vi

Gets a reference to the 'current' Project so the Provider can call VI Server methods on the Project.

MxLvGetProjectRef.png

mxLvGetPropertyType.vi

Retrieves the type of the property for the given Item.

MxLvGetPropertyType.png

mxLvGetProviderAppRef.vi

Gets a reference to the current application so the provider can call VI Server methods on the application.

MxLvGetProviderAppRef.png

mxLvGetRefProperty.vi

Retrieves a reference property from the property bag for the given Item.

MxLvGetRefProperty.png

mxLvGetStringProperty.vi

Retrieves a String property from the property bag for the given Item.

MxLvGetStringProperty.png

mxLvGetTarget.vi

Returns the target for the given item.

MxLvGetTarget.png

mxLvGetURLSFP.vi

Returns the project URL for the specified item. NOTE: This VI only works during the Provider_OnSaveForPreviousEx call.

MxLvGetURLSFP.png

mxLvGetVariantProperty.vi

Retrieves a property from the property bag for the given Item as variant data.

MxLvGetVariantProperty.png

mxLvGetVIRefProperty.vi

Gets an Integer property from the property bag for the given Item and casts it to a VI Refnum.

MxLvGetVIRefProperty.png

mxLvHasProperty.vi

Returns whether the given Item has the specified property in its property bag.

MxLvHasProperty.png

mxLvHasPropertyBatch.vi

Returns whether the given Items have the specified property in their property bag.

MxLvHasPropertyBatch.png

mxLvIsPersistent.vi

Returns whether the given property of the item is saved with the project or not.

MxLvIsPersistent.png

mxLvNotifyChanged.vi

Notifies the providers for the specified items of the change.

MxLvNotifyChanged.png

mxLvSetBinaryProperty.vi

Writes a binary property to the property bag for the given Item.

MxLvSetBinaryProperty.png

mxLvSetBooleanProperty.vi

Writes a Boolean property to the property bag for the given Item.

MxLvSetBooleanProperty.png

mxLvSetCursorBusy.vi

Sets the cursor to busy state.

MxLvSetCursorBusy.png

mxLvSetIcon.vi

Sets the icon to be displayed next to the item in the tree.

MxLvSetIcon.png

mxLvSetIconOverlays

Turns on or off Icon overlays for the given Item specified by previously registered Aliases. See mvLvAddIconOverlays.vi

MxLvSetIconOverlays.png

mxLvSetIconOverlaysBatch

Turns on or off Icon overlays for the given Items specified by previously registered Aliases. See mvLvAddIconOverlays.vi

MxLvSetIconOverlaysBatch.png

mxLvSetIntProperty

Writes an Integer property to the property bag for the given Item.

MxLvSetIntProperty.png

mxLvSetIntPropertyBatch

Writes an Integer property to the property bag for the given Items.

MxLvSetIntPropertyBatch.png

mxLvSetMenu

Specifies menu items. The order in which menu items appear is determined by their order in the "Menu Items" array. For each menu item, the text display description icon and event handling command tag can be specified; please refer to the help for the "Menu Items" cluster elements for details.

MxLvSetMenu.png

mxLvSetName

Sets the name (the text that appears in the tree) for an item.

MxLvSetName.png

mxLvSetPathProperty

Writes a Path property to the property bag for the given Item taking care to make the path delimiters cross-platform.

MxLvSetPathProperty.png

mxLvSetPopupMenu

Specifies pop-up menu items for specified project item. The order in which menu items appear is determined by their order in the "Popup Menu Items" array. For each menu item, the text display description icon and event handling command tag can be specified; please refer to the help for the "Popup Menu Items" cluster elements for details.

MxLvSetPopupMenu.png

mxLvSetPopupMenuBatch

Specifies pop-up menu items for specified project items. The order in which menu items appear is determined by their order in the "Menu Items" array. For each menu item, the text display description icon and event handling command tag can be specified; please refer to the help for the "Menu Items" cluster elements for details.

MxLvSetPopupMenuBatch.png

mxLvSetProperty

Writes a property to the property bag for the given item. This is a polymorphic VI.

MxLvSetProperty.png

mxLvSetRefProperty

Writes a reference property to the property bag for the given Item.

MxLvSetRefProperty.png

mxLvSetStringProperty

Writes a String property to the property bag for the given Item.

MxLvSetStringProperty.png

mxLvSetToolbar

Specifies toolbar items. The order in which toolbar items appear is determined by their order in the "Toolbar Items" array. For each toolbar item, the text display description icon and event handling command tag can be specified; please refer to the help for the "Toolbar Items" cluster elements for details.

MxLvSetToolbar.png

mxLvSetVariantProperty

Writes variant property after converting to appropriate type to the property bag for the given Item.

MxLvSetVariantProperty.png

mxLvSetVIRefProperty

Casts the given VI Reference to an Integer and writes the Integer to the property bag for the given Item.

MxLvSetVIRefProperty.png

mxLvSupportsInterface

Returns whether the given Item supports the specified interface.

MxLvSupportsInterface.png

mxLvSupportsInterfaceBatch

Returns whether the given Items support the specified interface.

MxLvSupportsInterfaceBatch.png

mxLvUpdateUI

Forces the UI to update the item based on the specified flags.

MxLvUpdateUI.png

mxLvUpdateUIBatch

Forces the UI to update the items based on the specified flags.

MxLvUpdateUIBatch.png