National Instruments 320571-01 Car Stereo System User Manual


 
NI-DSP Analysis VI Reference Chapter 2
Part 3: NI-DSP Function Reference 2-75 NI-DSP SRM for LabVIEW for Windows
DSP Sort
Sort the input array X in ascending or
descending order.
X is a DSP Handle Cluster that indicates the memory buffer on the DSP board that contains the input
signal array X.
direction is the direction to sort:
0: ascending.
1: descending.
direction defaults to ascending.
Sorted {X} in is a DSP Handle Cluster that indicates the memory buffer on the DSP board that will
contain the output array of sorted {X}.
Sorted {X} out is a DSP Handle Cluster that is identical to Sorted {X} in, but with the sorted {X}
already stored in the memory buffer on the DSP board.
error in (no error) contains the error information from a previous VI. If an error occurs, it is passed out
error out and no other calls are made.
error out contains the error information for this call.
The operation can be performed in place; that is, the input and output arrays can be the same DSP Handle Cluster.