VI Icon:Set From File Method

FlexRIO Help

Edition Date: November 2015

Part Number: 372614J-01

»View Product Info

»Download the Help in ZIP Format

Short Name: VI Icon.Set from File

Requires: Base Development System

Class: VI Methods

To Use: Create a method.

Sets the image of a VI icon from a file. LabVIEW creates a user layer called VI Icon for the image and deletes any other existing icon information from the Icon Editor dialog box.

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

Parameters

Data typeNameRequiredDescription
Image FileYesPath 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.

Data typeNo return value
Available in Run-Time EngineNo
Available in Real-Time Operating SystemYes
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 allowedYes
Must wait until user interface is idleNo
Available with control VIsYes
Available with global VIsYes
Available with strict type definitionsNo
Available with polymorphic VIsYes

WAS THIS ARTICLE HELPFUL?

Not Helpful