VI Icon:Set From File Method

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

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