Owning Palette: Digital Waveform VIs and Functions
Requires: Base Development System
Searches for a digital pattern in the digital input. Wire data to the digital waveform in input to determine the polymorphic instance to use or manually select the instance.
Use the pull-down menu to select an instance of this VI.
Add to the block diagram | Find on the palette |
start value format specifies the search method.
|
|||||
digital waveform in is the input digital waveform. | |||||
digital pattern specifies the digital pattern for which you want to search. For example, if you acquire a large digital waveform and want to see if any part of the digital waveform matches a certain pattern, wire that pattern to the digital pattern input to discover any matches. | |||||
start index/time specifies the point in digital waveform in where the search begins. You specify whether this is an index or time in indexing mode. The default is 0, which is the beginning of digital waveform in. When indexing mode is set to Relative Time, this VI checks start index/time to determine if it is an integer multiple of dt. If start index/time is not an integer multiple of dt, this VI uses the closest exact multiple of dt. This VI returns an error if start index/time is out of range for digital waveform in. | |||||
error in describes error conditions that occur before this node runs. With the following exception, this input provides standard error in functionality.
This node runs normally even if an error occurred before this node runs. |
|||||
compare mode specifies how to handle values of X for the search.
|
|||||
digital waveform out returns digital waveform in unchanged. | |||||
index/time of pattern is the first index or time value in digital waveform in following start index/time that matches the location of digital pattern. If indexing mode is set to Relative Time, index/time of pattern represents the time. If indexing mode is set to Samples, index/time of pattern represents the index. | |||||
error out contains error information. This output provides standard error out functionality. |
digital data in is the input set of digital data. | |||||
digital pattern specifies the digital pattern for which you want to search. For example, if you acquire a large digital waveform and want to see if any part of the digital waveform matches a certain pattern, wire that pattern to the digital pattern input to discover any matches. | |||||
start index specifies the point in digital data in where the search begins. The default is 0, which is the beginning of digital data in. The VI returns an error if start index is out of range for digital data in. | |||||
error in describes error conditions that occur before this node runs. With the following exception, this input provides standard error in functionality.
This node runs normally even if an error occurred before this node runs. |
|||||
compare mode specifies how to handle values of X for the search.
|
|||||
digital data out returns digital data in unchanged. | |||||
index of pattern returns the first index in digital data in following start index that matches the location of digital pattern. | |||||
error out contains error information. This output provides standard error out functionality. |
Refer to the Search Digital Data for Pattern VI in the labview\examples\Controls and Indicators\Graphs and Charts\Digital Waveform Graph directory for an example of using the Search for Digital Pattern VI.