VI Icon:Set From File Method

LabView Local Project Settings

VI Icon:Set From File Method

Short Name: VI Icon.Set from File

Installed With: Base Package

Class: VI Methods

Sets the image of a VI icon from a file.

You also can use the VI Icon:Set from Image Data method to use a cluster of image data to set the VI icon image.

Parameters

NameRequiredDescription
Image FileNoPath to the image you want to use for the VI icon. Valid image formats include PNG, JPEG, GIF, and BMP. The BMP format is valid only on Windows.

Remarks

The following table lists the characteristics of this method.

Available in Run-Time Engine and Real-Time Operating SystemNo
Settable when the VI is runningYes
Loads the front panel into memoryYes
Need to authenticate before useYes
Loads the block diagram into memoryNo
Remote access disallowedNo
Must wait until user interface is idleNo
Available with control VIsYes
Available with global VIsYes
Available with strict type definitionsNo
Available with polymorphic VIsYes