Skip to content

NI DMM Multi Point Acquisition Attributes

ni-siray edited this page May 7, 2021 · 2 revisions

Multi Point Acquisition Attributes

NIDMM_ATTRIBUTE_BUFFER_SIZE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None None

Description

Size in samples of the internal data buffer. Maximum is 134,217,727 (0X7FFFFFF) samples. When set to NIDMM_VAL_BUFFER_SIZE_AUTO(–1), NI-DMM chooses the buffer size.

NIDMM_ATTRIBUTE_LATENCY

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None None

Description

Specifies the number of measurements transferred at a time from the instrument to an internal buffer. When set to NIDMM_VAL_LATENCY_AUTO (-1), NI-DMM chooses the transfer size.

NIDMM_ATTRIBUTE_SAMPLE_COUNT

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None niDMM_ConfigureMultiPoint

Description

Specifies the number of measurements the DMM takes each time it receives a trigger in a multiple point acquisition.

NIDMM_ATTRIBUTE_SAMPLE_DELAY_MODE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None None

Description

For the NI 4060 only, specifies a delay interval after an external sample trigger.

Defined Values

0 (default) IVI compliant NIDMM_ATTRIBUTE_SAMPLE_INTERVAL is only used when the Sample Trigger is set to INTERVAL.
1 Not IVI compliant NIDMM_ATTRIBUTE_SAMPLE_INTERVAL is used as a delay after any type of Sample Trigger.

NIDMM_ATTRIBUTE_SAMPLE_INTERVAL

Specific Attribute

Data
type
Access Coercion High-Level Function
ViReal64 R/W None niDMM_ConfigureMultiPoint

Description

Specifies the amount of time in seconds the DMM waits between measurement cycles. This attribute only applies when the NIDMM_ATTRIBUTE_SAMPLE_TRIGGER attribute is set to INTERVAL. The default value (–1) ensures that the DMM settles for a recommended time, which is the same as using an immediate trigger.

The NI 4065, NI 4070/4071/4072, and the NI 4080/4081/4082 use the value specified in this attribute as additional delay. On these devices, the onboard timing resolution is 34.72 ns and the valid range is 0–149 s.

On the NI 4060, the value for this attribute is used as the settling time. When this attribute is set to 0, the NI 4060 does not settle between measurement cycles. The onboard timing resolution is 1 µs on the NI 4060.

Only positive values are valid when setting the sample interval.

Note  The NI 4050 is not supported.

NIDMM_ATTRIBUTE_SAMPLE_TRIGGER_SLOPE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None None

Description

Specifies the edge of the signal from the specified sample trigger source on which the DMM is triggered.

Defined Values

Rising Edge 0 NIDMM_VAL_POSITIVE The driver triggers on the rising edge of the trigger signal.
Falling Edge (default) 1 NIDMM_VAL_NEGATIVE The driver triggers on the falling edge of the trigger signal.

NIDMM_ATTRIBUTE_SAMPLE_TRIGGER

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None niDMM_ConfigureMultiPoint

Description

Specifies the sample trigger source.

Note  To determine which values are supported by each device, refer to the LabWindows/CVI Trigger Routing section.

NIDMM_ATTRIBUTE_TRIGGER_COUNT

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None niDMM_ConfigureMultiPoint

Description

Specifies the number of triggers the DMM receives before returning to the Idle state. This attribute can be set to any positive ViInt32 value for the NI 4065, NI 4070/4071/4072 and NI 4080/4081/4082.

The NI 4050 and NI 4060 only support this attribute being set to 1.

Refer to the Multiple Point Acquisitions section for more information.

NIDMM_ATTRIBUTE_MEAS_COMPLETE_DEST

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None niDMM_ConfigureMeasCompleteDest

Description

Specifies the destination of the measurement complete signal.

Notes  The NI 4050 is not supported.

To determine which values are supported by each device, refer to the LabWindows/CVI Trigger Routing section.

NIDMM_ATTRIBUTE_MEAS_DEST_SLOPE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None None

Description

Specifies the polarity of the generated measurement complete signal.

Defined Values

Rising Edge 0 NIDMM_VAL_POSITIVE The driver triggers on the rising edge of the trigger signal.
Falling Edge (default) 1 NIDMM_VAL_NEGATIVE The driver triggers on the falling edge of the trigger signal.

NIDMM_ATTRIBUTE_TRIGGER_DELAY

Specific Attribute

Data
type
Access Coercion High-Level Function
ViReal64 R/W None None

Description

Specifies the time (in seconds) that the DMM waits after it has received a trigger before taking a measurement. The default value is AUTO DELAY (-1), which means that the DMM waits an appropriate settling time before taking the measurement. (–1) signifies that AUTO DELAY is on, and (–2) signifies that AUTO DELAY is off.

The NI 4080/4081/4082 uses the value specified in this attribute as additional settling time. The valid range for Trigger Delay is 0.0 - 10.0 seconds, and the onboard timing resolution is 10.0 ns.

The NI 4065, NI 4070/4071/4072, and NI 4080/4081/4082 use the value specified in this attribute as additional settling time. For the The valid range for Trigger Delay is AUTO DELAY (-1) or 0.0-149.0 seconds and the onboard timing resolution is 34.72 ns.

On the NI 4060, if this attribute is set to 0, the DMM does not settle before taking the measurement. On the NI 4060, the valid range for AUTO DELAY (-1) is 0.0-12.0 seconds and the onboard timing resolution is 100 ms.

When using the NI 4050, this attribute must be set to AUTO DELAY (-1).

Use positive values to set the trigger delay in seconds.

NIDMM_ATTRIBUTE_TRIGGER_SLOPE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None niDMM_ConfigureTriggerSlope
niDMM_ConfigureSampleTriggerSlope

Description

Specifies the edge of the signal from the specified trigger source on which the DMM is triggered.

Defined Values

NIDMM_VAL_POSITIVE 0 POSITIVE The driver triggers on the rising edge of the trigger signal.
NIDMM_VAL_NEGATIVE (default) 1 NEGATIVE The driver triggers on the falling edge of the trigger signal.

NIDMM_ATTRIBUTE_TRIGGER_SOURCE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None niDMM_ConfigureTrigger

Description

Specifies the trigger source. When niDMM_Initiate is called, the DMM waits for the trigger specified with this attribute. After it receives the trigger, the DMM waits the length of time specified with the NIDMM_ATTRIBUTE_TRIGGER_DELAY attribute. The DMM then takes a measurement.

Note  To determine which values are supported by each device, refer to the LabWindows/CVI Trigger Routing section.

NIDMM_ATTRIBUTE_WAVEFORM_COUPLING

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None niDMM_ConfigureWaveformCoupling

Description

For the NI 4080/4081/4082 and NI 4070/4071/4072, specifies the coupling during a waveform acquisition.

Defined Values

NIDMM_VAL_WAVEFORM_COUPLING_AC 0 AC coupling
NIDMM_VAL_WAVEFORM_COUPLING_DC (default) 1 DC coupling

NIDMM_ATTRIBUTE_WAVEFORM_POINTS

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None niDMM_ConfigureWaveformAcquisition

Description

For the NI 4080/4081/4082 and NI 4070/4071/4072 only, specifies the number of points to acquire in a waveform acquisition.

NIDMM_ATTRIBUTE_WAVEFORM_RATE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViReal64 R/W Yes niDMM_ConfigureWaveformAcquisition

Description

For the NI 4080/4081/4082 and NI 4070/4071/4072 only, specifies the rate of the waveform acquisition in Samples per second (S/s). The valid range is 10.0–1,800,000 S/s. Values are coerced to the closest integer divisor of 1,800,000. The default value is 1,800,000.

Table of Contents

Internal Development

Creating and Setting Up a gRPC Server

Server Security Support

Creating a gRPC Client

gRPC Client Examples

Session Utilities API Reference

Driver Documentation

gRPC API Differences From C API

Sharing Driver Sessions Between Clients

C API Docs
NI-DAQmx
NI-DCPOWER
NI-DIGITAL PATTERN DRIVER
NI-DMM
NI-FGEN
NI-FPGA
NI-RFmx Bluetooth
NI-RFmx NR
NI-RFmx WCDMA
NI-RFmx GSM
NI-RFmx CDMA2k
NI-RFmx Instr
NI-RFmx LTE
NI-RFmx SpecAn
NI-RFmx TD-SCDMA
NI-RFmx WLAN
NI-RFSA
NI-RFSG
NI-SCOPE
NI-SWITCH
NI-TCLK
NI-XNET
Clone this wiki locally