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
Name | Required | Description |
---|---|---|
Image File | No | Path 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 System | No |
Settable when the VI is running | Yes |
Loads the front panel into memory | Yes |
Need to authenticate before use | Yes |
Loads the block diagram into memory | No |
Remote access disallowed | No |
Must wait until user interface is idle | No |
Available with control VIs | Yes |
Available with global VIs | Yes |
Available with strict type definitions | No |
Available with polymorphic VIs | Yes |