Products & Services Solutions Academia Support User Community Company

Learn more about Data Acquisition Toolbox   

Coupling - Specify input coupling mode

Description

The Coupling property is visible only if the device you are using supports coupling and the value can be changed. Coupling can be DC or AC. If Coupling is DC, the input is connected directly to the amplifier. If Coupling is AC, a series capacitor is inserted between the input connector and the amplifier.

When AC coupling is selected, the DC bias component of the measured signal is filtered out of the waveform by the hardware. This is typically used with dynamic signals such as audio. When DC coupling is selected, the complete signal including the DC bias component is measured. This is typically used with slowly changing signals such as temperature or voltage readings.

Characteristics

Vendor

National Instruments

Usage

AI, Channel

Access

Read/write

Data type

String

Read-only when running

Yes

Values

{AC}

A series capacitor is inserted between the input connector and the amplifier.

DC

The input is connected directly to the amplifier.

The default is set to AC for

In all other cards, the default is set to DC.

Examples

Create the analog input object ai for a National Instruments board, and add a hardware channel to it.

ai = analoginput('nidaq','Dev1');
addchannel(ai,0);

You can return the coupling modes supported by the board with the Coupling field of the daqhwinfo function.

out = daqhwinfo(ai);
out.Coupling
ans =
   'AC,DC'

Configure the channel contained by ai to use dc-coupling:

ai.Channel.Coupling = 'DC';
ai.Channel.Coupling
ans=
DC
  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS