WA WP Write Node VI
- Updated2024-07-30
- 3 minute(s) read
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.

Inputs/Outputs
WP session
—
WP session specifies a reference to an existing wavelet packet structure.
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.
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.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
WP session out
—
WP session out returns a reference to an existing wavelet packet structure, which this VI can modify.
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
WP session
—
ref
—
t0
—
dt
—
path
—
node coef
—
error in (no error)
—
WP session out
—
ref
—
t0
—
dt
—
error out
—