National Instruments 320571-01 用户手册

下载
页码 157
NI-DSP Analysis VI Reference 
Chapter 2
Part 3:  NI-DSP Function Reference 
2-52
NI-DSP SRM for LabVIEW for Windows
DSP Log
Computes the logarithm base 10 of the input
array. The ith element of resulting array is
obtained by using the following formula:
y(i) = log10 (X(i)) * mult
for  i = 0, 1, 2, …, n-1,
where n is the number of elements in X.
This VI is useful for converting values that represent power to decibels.  This VI returns the most negative number
for any input less than or equal to zero.
X is a DSP Handle Cluster that indicates the memory buffer on the DSP board that contains the input
signal array.
mult defaults to 1.0.
Y in is a DSP Handle Cluster that indicates the memory buffer on the DSP board that will contain the
results of logarithm X.
Y out is a DSP Handle Cluster that is identical to Y in, but with the results of logarithm 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.