Searches for the maximum and minimum values in input data where the region of interest is determined by the last sample length data. The indices are between 0 and sample length.
![]() |
initialize, when TRUE, initializes the internal state of the VI. |
![]() |
input data is a set of input data. |
![]() |
sample length is the length of each set of incoming data. The VI performs computation for each set of data. The default is 100. When you set sample length to zero, the VI calculates a cumulative solution for the input data from the time that you called or initialized the VI. When the sample length setting is greater than zero, the VI calculates the solution for only the newest set of input data. |
![]() |
max index is the index of max value.
It is 0 ![]() |
![]() |
max value is the maximum of the set of input data determined by sample length. |
![]() |
min index is the index on the min value.
It is 0 ![]() |
![]() |
min value is the minimum of the set of input data determined by sample length. |
![]() |
error returns any error or warning condition from the VI. Refer to Point By Point Error Codes for more information about these conditions. |