Generating Voltage

LabView EASAPPS

Generating Voltage

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.

Connecting Analog Output Signals

Signal connections vary depending on the device, connector block, and signal conditioning module. For E Series devices, the analog output signals are AO0, AO1, and AO GND. AO0 is the voltage output signal for analog output channel 0. AO1 is the voltage output signal for analog output channel 1. AO GND is the ground reference signal for both analog output channels and the external reference signal. The following illustration shows how to make analog output connections for an NI device.

Analog Output Connections

Refer to the device documentation for information about specific terminals.