Writes the wavelet packet (WP) coefficients to a terminal node that path specifies. If you want to write coefficients to a non-terminal node, use the WA WP Join VI to convert the node to a terminal node.


icon

Inputs/Outputs

  • ccclst.png WP session

    WP session specifies a reference to an existing wavelet packet structure.

  • cu64.png ref

  • catrn.png t0

  • cdbl.png dt

  • cstr.png path

    path specifies the path associated with a node of the wavelet packet tree. For this VI, path must refer to a terminal node of the wavelet packet tree. path is a combination of the characters 0 and 1, where 0 represents lowpass filtering, and 1 represents highpass filtering.

    For example, a value of 101 indicates that this VI passes the signal through a highpass filter, through a lowpass filter, and then through a highpass filter. path can be root, which represents the original signal without any filtering operation.

  • c1ddbl.png node coef

    node coef specifies the wavelet packet coefficients to write to the terminal node path specifies. The required length of node coef depends on the signal length, the type of wavelet, and path. Use the WA WP Read Node VI to obtain the original coefficients of the node path specifies and thus the exact coefficients length acquired.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • icclst.png WP session out

    WP session out returns a reference to an existing wavelet packet structure, which this VI can modify.

  • iu64.png ref

  • iatrn.png t0

  • idbl.png dt

  • ierrcodeclst.png error out

    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 Write Node VI:

    • Wavelet Packet - Read and Write Coefficients VI: labview\examples\Wavelet Analysis\WAGettingStarted
    • Wavelet Packet Signal Compression VI: labview\examples\Wavelet Analysis\WAApplications