Use the Signal Generation VIs located on the Functions»Analyze»Signal Processing»Signal Generation palette to generate one-dimensional arrays with specific waveform patterns. The Signal Generation VIs generate digital patterns and waveforms.
Click the icons for VI and function descriptions.
You will notice that the names of most of the signal generation VIs have the word wave or pattern in them. There is a basic difference in the operation of the two different types of VIs. It has to do with whether or not the VI can keep track of the phase of the signal that it generates each time it is called.
The wave VIs have a phase in control where you can specify the initial phase (in degrees) of the first sample of the generated waveform. They also have a phase out indicator that specifies what the phase of the next sample of the generated waveform is going to be. In addition, a reset phase control decides whether or not the phase of the first sample generated when the wave VI is called is the phase specified at the phase in control, or whether it is the phase available at the phase out control when the VI last executed. A TRUE value of reset phase sets the initial phase to phase in, whereas a FALSE value sets it to the value of phase out when the VI last executed.
The wave VIs are all reentrant (can keep track of phase internally) and accept frequency in normalized units (cycles/sample). The only pattern VI that presently uses normalized units is the Chirp Pattern VI. Setting the reset phase Boolean to FALSE allows for continuous sampling simulation.
Refer to the examples\analysis\sigxmpl.llb for an example of using the Signal Generation VIs.