NI-DMM C Function Reference Help

niDMM_ConfigureCurrentSource

  • Updated2023-02-21
  • 1 minute(s) read

ViStatus = niDMM_ConfigureCurrentSource(ViSession Instrument_Handle, ViReal64 Current_Source)

Purpose

The NI 4050 and NI 4060 are not supported. Configures the Current_Source for diode measurements.

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.
Current_Source ViReal64 Specifies the Current_Source provided during diode measurements. For valid ranges, refer to the device sections for your device. The driver sets NIDMM_ATTR_CURRENT_SOURCE to this value.

NIDMM_VAL_1_MICROAMP1 µANI 4080/4081/4082 and NI 4070/4071/4072
NIDMM_VAL_10_MICROAMP10 µANI 4080/4081/4082 and NI 4070/4071/4072 only
NIDMM_VAL_100_MICROAMP100 µANI 4080/4081/4082, NI 4070/4071/4072, and NI 4065
NIDMM_VAL_1_MILLIAMP (default)1 mANI 4080/4081/4082, NI 4070/4071/4072, and NI 4065

Return Value

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

Log in to get a better experience