niScope Add Waveform Processing
Adds one measurement to the list of processing steps that are completed before the measurement. The processing is added on a per channel basis, and the processing measurements are completed in the same order they are registered. All waveform measurements (for example, adding channels or applying a Bessel filter) are cached at the time of registering the processing, and this set of measurements is used during the processing step. The processing measurements are streamed, so the result of the first processing step is used as the input for the next step. The processing happens before any other measurements.
For example, you can use a property node to set the NI-SCOPE attribute filter type to lowpass, and then register a Bessel Filter as a processing step using this function. Then you can set the filter type to bandpass and register a Chebyshev filter. In a loop, call niScope Read Measurement with the scalar measurement function set to Voltage RMS. This process would repeatedly fetch a new waveform from the digitizer, perform the lowpass filter, perform the bandpass filter, and then compute the voltage RMS on the filtered waveform.
Refer to Array Measurements for more information about the available measurements.
instrument handle identifies a particular instrument session. | |||||||
channel name is the channel to configure. For more information, refer to Channel String Syntax. | |||||||
array measurement is the array measurement to add as a processing step.
Refer to the list of array measurements for more information. Default Value: None |
|||||||
error in describes error conditions that occur before this VI runs. The default input of this cluster is no error. If an error already occurred, this VI returns the value of error in in error out. The VI runs normally only if no incoming error exists. Otherwise, the VI passes the error in value to error out. The error in cluster contains the following parameters:
| |||||||
instrument handle out has the same value as the instrument handle. | |||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
|