niDMM_ConfigureWaveformCoupling

NI-DMM C/CVI/VB

niDMM_ConfigureWaveformCoupling

ViStatus = niDMM_ConfigureWaveformCoupling(ViSession Instrument_Handle, ViInt32 Waveform_Coupling)

Purpose

For the NIĀ 4070/4071/4072 only, configures instrument coupling for voltage waveforms.

Parameters

Input
Name Type Description
Instrument_Handle ViSession Identifies a particular instrument session. You obtain the Instrument_Handle parameter from niDMM_init or niDMM_InitWithOptions. The default is None.
Waveform_Coupling ViInt32 Selects DC or AC coupling. The driver sets NIDMM_ATTR_WAVEFORM_COUPLING to this value.

NameValueDescription
NIDMM_VAL_WAVEFORM_COUPLING_AC 0 AC coupling
NIDMM_VAL_WAVEFORM_COUPLING_DC (default) 1 DC coupling

Return Value

Name Type Description
Status ViStatus Reports the Status of this operation. To obtain a text description of the status code, call niDMM_error_message. To obtain additional information concerning the error condition, use niDMM_GetError.