Offset

Specify DC offset of waveform

Description

When using waveform function generation channels, Offset represents offsetting of a signal from zero, or the mean value of the waveform.

Values

The waveform offset can be between –5 and 5. Ensure that Gain x Voltage + Offset falls within the valid rages of output voltage of the device.

Example

Change the offset of the waveform function generation channel to 2 volts.

s = daq.createSession('digilent');
fgenCh = addFunctionGeneratorChannel(s, 'AD1', 1, 'Sine');
fgenCh.Offset = 2
fgenCh = 

Data acquisition sine waveform generator '1' on device 'AD1':

              Phase: 0
              Range: -5.0 to +5.0 Volts
     TerminalConfig: SingleEnded
               Gain: 0
             Offset: 2
          Frequency: 4096
       WaveformType: Sine
     FrequencyLimit: [0.0 25000000.0]
               Name: ''
                 ID: '1'
             Device: [1x1 daq.di.DeviceInfo]
    MeasurementType: 'Voltage'

See Also

Functions

Properties