Custom Item Symbols:Set To Custom Symbol Array Method

LabVIEW 2018 Help


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

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Short Name: Custom Item Symbols.Set Symbol Array

Requires: Base Development System

Class: TreeControl Methods

To Use: Create a method.

Sets the images of all item symbols.

If you want to use a picture to set the symbols, use the Picture to Pixmap VI to convert the data to an image data cluster before using this method. The image clusters you wire to this method are similar to the image data input of the Write JPEG File, Write PNG File, and Write BMP File VIs.

Example

Parameters

Data typeNameRequiredDescription
SymbolsYesAn array of clusters that describe the images you want to use for the item symbols. Images that are less than or equal to 16 × 16 pixels appear as their actual size. If you use an image that is larger than 16 × 16 pixels, LabVIEW shrinks the image to 16 × 16 pixels before displaying it as a tree control item symbol.

Remarks

The following table lists the characteristics of this method.

Data typeNo return value
Available in Run-Time EngineYes (Read/Write)
Available in Real-Time Operating SystemYes
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes

Example

Refer to the Setting Custom Tree Item Symbols VI in the labview\examples\Controls and Indicators\Tree directory for an example of using the Custom Item Symbols:Set To Custom Symbol Array method.

WAS THIS ARTICLE HELPFUL?

Not Helpful