Digital Pattern Generator VI

LabVIEW 2017 Help

Edition Date: March 2017

Part Number: 371361P-01

»View Product Info
Download Help (Windows Only)

Owning Palette: Digital Waveform VIs and Functions

Requires: Base Development System

Generates a pattern and returns the pattern as a digital waveform. Depending on the instance you use, the VI can return a ramp, marching values, single value, random, or toggle pattern as a waveform. You must manually select the polymorphic instance you want to use.

Details  

Use the pull-down menu to select an instance of this VI.

Digital Pattern Generator (Ramp)

number of samples specifies the number of samples to include in the generated digital waveform.
number of signals specifies the number of signals to include in the generated digital waveform.
sample rate specifies the sample rate of the generated digital waveform. The default is 1 kHz.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
digital waveform returns the generated digital waveform pattern.
error out contains error information. This output provides standard error out functionality.

Digital Pattern Generator (Marching Values)

Generates a digital waveform in which a binary value placed on the first signal of the first sample is logically shifted to the next signal on each subsequent sample of the waveform.

marching value is the binary value that marches across the signals of the generated digital waveform. The default is 1.
hold value is the binary value of the generated digital waveform. The default is 0.
number of samples specifies the number of samples to include in the generated digital waveform.
number of signals specifies the number of signals to include in the generated digital waveform.
sample rate specifies the sample rate of the generated digital waveform. The default is 1 kHz.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
digital waveform returns the generated digital waveform pattern.
error out contains error information. This output provides standard error out functionality.

Digital Pattern Generator (Single Value)

Generates a digital waveform in which all bits are set to 0, 1, Z, L, H, X, T, or V.

value is the digital bit state of the generated digital waveform. The default is 0.
number of samples specifies the number of samples to include in the generated digital waveform.
number of signals specifies the number of signals to include in the generated digital waveform.
sample rate specifies the sample rate of the generated digital waveform. The default is 1 kHz.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
digital waveform returns the generated digital waveform pattern.
error out contains error information. This output provides standard error out functionality.

Digital Pattern Generator (Random)

Generates a digital waveform that contains a random digital pattern of 0s and 1s. The random pattern generated assumes no mathematically determinable sequence of values.

number of samples specifies the number of samples to include in the generated digital waveform.
number of signals specifies the number of signals to include in the generated digital waveform.
sample rate specifies the sample rate of the generated digital waveform. The default is 1 kHz.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
digital waveform returns the generated digital waveform pattern.
error out contains error information. This output provides standard error out functionality.

Digital Pattern Generator (Toggle)

Generates a digital waveform in which the even numbered samples contain binary values defined by the value 1 input and the odd numbered samples contain binary values defined by the value 2 input.

value 2 is the second digital bit state of the generated digital waveform. The default is 1.
value 1 is the first digital bit state of the generated digital waveform. The default is 0.
number of samples specifies the number of samples to include in the generated digital waveform.
number of signals specifies the number of signals to include in the generated digital waveform.
sample rate specifies the sample rate of the generated digital waveform. The default is 1 kHz.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
digital waveform returns the generated digital waveform pattern.
error out contains error information. This output provides standard error out functionality.

Digital Pattern Generator Details

The Ramp instance generates a digital waveform that contains a binary count-up pattern that starts at zero and counts up by one until it reaches 2n–1, where n = number of signals.

WAS THIS ARTICLE HELPFUL?

Not Helpful