Generating Voltage

NI-DAQmx Help

Edition Date: January 2019

Part Number: 370466AH-01

»View Product Info
Download Help (Windows Only)

You can generate single sample DC signals or time-varying multiple sample signals.

Single Samples—Including Steady Signals

Use single samples if the signal level is more important than the generation rate. For instance, generate one sample at a time if you need to generate a constant, or DC, signal. You can use software or hardware timing if the device supports hardware timing to control when the device generates a signal.

Time-Varying Multiple Samples

Use multiple samples if the generation rate is just as important as the signal level, as in an AC sine wave. Function generators are a common type of device that you can program to produce certain types of waveforms, such as sine, triangle, and square waves. You also can use a DAQ device as a function generator. You do this by generating one cycle of a sine wave, such as with the Sine Generation VI in LabVIEW, storing one cycle of sine wave data in a waveform, and programming the device to generate the values continuously from the waveform one point at a time at a specified rate.

Also called buffered analog output, generating multiple samples involves the following steps:

  1. Your application writes multiple samples into a buffer.
  2. All the samples in the buffer are then sent to your device according to the timing you specify. You can use software or hardware timing (if your device supports hardware timing) to control when your device generates a signal.

Making Signal Connections

Creating a Program

Generating Voltage General Programming Flow

Generating Multiple Samples Programming Flow

Examples

See Also

External Reference Sources for Generating Voltage

What is a Buffer?

WAS THIS ARTICLE HELPFUL?

Not Helpful