CNiIviDmm::Configure

Measurement Studio IVI

Class
CNiIviDmm::
Configure()
Base ClassesData ItemsConstructorsFunctionsGo to hierarchy chart    Prev page: CNiIviDmmNext page: CNiIviDmm    
Public Function Declared in:
NiIviDmm.h

'Declaration' icon -- Shortcut to top of page. Declaration

inline void Configure(
    long function,
    double range,
    double resolution);

'Description' icon -- Shortcut to top of page. Description

Sets the Function, Range, and Resolution properties.

Shortcut to top of page. Parameters

long function

The kind of measurement to take.

The following list includes valid values:

  • CNiIviDmm::VoltsDcFunction - DC Volts.
  • CNiIviDmm::VoltsAcFunction - AC Volts.
  • CNiIviDmm::CurrentDcFunction - DC Current.
  • CNiIviDmm::CurrentAcFunction - AC Current.
  • CNiIviDmm::Resistance2WireFunction - 2 Wire Resistance.
  • CNiIviDmm::Resistance4WireFunction - 4 Wire Resistance.
  • CNiIviDmm::VoltsAcPlusDcFunction - AC+DC Volts.
  • CNiIviDmm::CurrentAcPlusDcFunction - AC+DC Current.
  • CNiIviDmm::FrequencyFunction - Frequency.
  • CNiIviDmm::PeriodFunction - Period.
  • CNiIviDmm::TemperatureFunction - Temperature.

This function sets the Function property to the value you specify for this parameter.

double range

The measurement range. Positive values represent the absolute value of the maximum expected measurement. The units are determined by the value of the Function property.

Negative values are reserved for controlling the DMM's auto-ranging capability.

  • CNiIviDmm::OnAutoRange - The Dmm calculates the range automatically before each measurement.
  • CNiIviDmm::OffAutoRange - Disables auto-ranging. The most recently calculated range is used for subsequent measurements.
  • CNiIviDmm::OnceAutoRange - The Dmm calculates the range before the next measurement and uses this value for all subsequent measurement.

When this property is set to CNiIviDmm::OnAutoRange, use the Advanced.ActualRange property to get the actual range.

This function sets the Range property to the value you specify for this parameter.

double resolution

The measurement resolution of the DMM in absolute units. Lower values increase measurement accuracy. Higher values increase measurement speed.

This function sets the Resolution property to the value you specify for this parameter.

'See Also' icon -- Shortcut to top of page. See Also