LabVIEW Advanced Signal Processing Toolkit API Reference

WA WP Plot Tree VI

  • Updated2023-02-21
  • 4 minute(s) read

WA WP Plot Tree VI

Owning Palette: Wavelet Packet VIs

Requires: Advanced Signal Processing Toolkit

Plots the whole tree structure of the wavelet packet (WP) tree in a picture control. You can show the node information of path, position, or entropy on each node of the wavelet packet tree.

Examples

draw color specifies the color of the wavelet packet tree.
text color specifies the color of the node strings.
BG color specifies the background color of tree plot.
line color specifies the color of the tree branches.
WP session specifies a reference to an existing wavelet packet structure.
display mode specifies the display mode of the node string in the decomposition tree.

0node path—Labels the node with a string that consists of the characters 0 and 1, where 0 represents lowpass filtering, and 1 represents highpass filtering.
1depth, pos (default)—Labels the node with the depth of the node in the tree and the position of the node in its level. The depth and the position start with 0. The depth ascends from the top to the bottom of the tree. The position ascends from the left to the right in a level.
2entropy—Labels the node with the entropy of the node.
draw area size specifies the size of the area in the picture control in pixels to draw the tree structure display. Wire the Draw Area Size property of tree plot to this control.
width specifies the width of the tree structure display in pixels.
height specifies the height of the tree structure display in pixels.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
draw offset specifies the coordinates of the left topmost pixel in tree plot.
x offset specifies the x coordinate of node in tree plot.
y offset specifies the y coordinate of node in tree plot.
WP session out returns a reference to an existing wavelet packet structure, which this VI can modify.
tree plot returns the picture control that displays the tree structure.
node info returns the position of each node in the wavelet packet tree and the associated location in tree plot.
node returns the indexes of a node with respect to depth and position.
depth is the depth of the node, that is, its level in the tree.
position is the position of the node in its level.
location returns the coordinates of node in tree plot.
x is the x-coordinate of node in tree plot.
y is the y-coordinate of node in tree plot.
error out contains error information. This output provides standard error out functionality.

Examples

Refer to the following VIs for examples of using the WA WP Plot Tree VI:

  • Wavelet Packet - Entropy Selection VI: labview\examples\Wavelet Analysis\WAGettingStarted
  • Wavelet Packet - Plot Tree VI: labview\examples\Wavelet Analysis\WAGettingStarted
  • Wavelet Packet - Join Node VI: labview\examples\Wavelet Analysis\WAGettingStarted
  • Wavelet Packet - Split Node VI: labview\examples\Wavelet Analysis\WAGettingStarted

Log in to get a better experience