VI class/VI Icon.Set From File method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 407
Scope Basic Development Environment
Data Name VI Icon.Set from File
Short Name* VI Icon.Set from File
Long Name* VI Icon:Set From File
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 2
Owning Class Name VI Class
Return Data Type No return value
Invoke Node VI Icon:Set From File
Available in Real-Time Operating SystemYes
Available in Run-Time EngineNo
Available with control VIsYes
Available with global VIsYes
Available with polymorphic VIsYes
Available with strict type definitionsNo
Loads the block diagram into memoryNo
Loads the front panel into memoryYes
Must wait until user interface is idleNo
Need to authenticate before useYes
Remote access allowedYes
Settable when the VI is runningYes

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 type Name Required Description
Path Image File Yes Path to the image you want to use for the VI icon.

Uses

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links