Short Name: BD.Get Image Scaled
Requires: Base Development System
Class: VI Methods
To Use: Create a method.
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.
Data type | Name | Required | Description |
---|---|---|---|
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. | |
Image Data | Yes | 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.
This cluster is similar to the image data output of the Read JPEG File, Read PNG File, and Read BMP File VIs.
| |
maximum width | No | Sets the maximum width of the scaled image. | |
maximum height | No | Sets the maximum height of the scaled image. |
The following table lists the characteristics of this method.
Data type | No return value |
Available in Run-Time Engine | No |
Available in Real-Time Operating System | Yes |
Settable when the VI is running | Yes |
Loads the front panel into memory | Yes |
Need to authenticate before use | Yes |
Loads the block diagram into memory | Yes |
Remote access allowed | Yes |
Must wait until user interface is idle | Yes |
Available with control VIs | No |
Available with global VIs | No |
Available with strict type definitions | No |
Available with polymorphic VIs | No |