VI class/Block Diagram.Get Image Scaled method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 42C
Scope Basic Development Environment
Data Name BD.Get Image Scaled
Short Name* BD.Get Image Scaled
Long Name* Block Diagram:Get Image Scaled
* 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 Block Diagram:Get Image Scaled
Available in Real-Time Operating SystemYes
Available in Run-Time EngineNo
Available with control VIsNo
Available with global VIsNo
Available with polymorphic VIsNo
Available with strict type definitionsNo
Loads the block diagram into memoryYes
Loads the front panel into memoryYes
Must wait until user interface is idleYes
Need to authenticate before useYes
Remote access allowedYes
Settable when the VI is runningYes

Returns an image of the block diagram and scales it proportionally according to the maximum width and height you wire to the method. For example, if the image of the block diagram is 200 by 200 pixels and you wire a value of 50 to maximum width and a value of 100 to maximum height, this method returns an image that is 50 by 50 pixels. If you do not wire a value to maximum width or maximum height, the image retains its actual size.


You also can use the Append VI Block Diagram to Report VI to create an image of a block diagram and append it to a report.

Parameters

Data type Name Required Description
I32 Image Depth No Sets the color depth, or number of supported colors, of the image: 1 (1-bit, black and white), 4 (4-bit, 16 colors), 8 (8-bit, 256 colors), or 24 (24-bit, true color). The default is 8.
Common Cluster TypeDef Image Data No Information about the image so you can use the Draw Flattened Pixmap VI to draw it as a picture or use the Graphics Formats VIs to save the image to a file.
I32 Maximum Width No
I32 Maximum Height No

Uses

History

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

See Also

External Links