Icon:Set Method

Short Name: Set Icon

Requires: Base Development System

Class: Library Methods

To Use: Create a method.

Sets the icon for a project library from image data you specify.

LabVIEW applies a library icon to the icon of all objects in the library. National Instruments recommends creating only a banner for the library icon. The icon for each object in the library then includes the banner, and you can modify the body of the icon to provide information about the specific object.

This method is similar to the VI Icon Template section of the General Settings page of the Project Library Properties dialog box.

Note  The LabVIEW Datalogging and Supervisory Control Module supports this method in the Run-Time Engine.

Parameters

Data typeNameRequiredDescription
ColorYesSpecifies image data to use as the 8-bit library icon. This icon appears as the 256 Colors icon on the General Settings page of the Project Library Properties dialog box.
MonochromeNoSpecifies image data to use as the 1-bit library icon.

Remarks

The following table lists the characteristics of this method.

Data typeNo return value
Available in Run-Time EngineNo
Available in Real-Time Operating SystemNo
Settable when the VI is runningNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes