NI DMM Multi Point Acquisition Attributes - ni/grpc-device GitHub Wiki
- NIDMM_ATTRIBUTE_BUFFER_SIZE
- NIDMM_ATTRIBUTE_LATENCY
- NIDMM_ATTRIBUTE_SAMPLE_COUNT
- NIDMM_ATTRIBUTE_SAMPLE_DELAY_MODE
- NIDMM_ATTRIBUTE_SAMPLE_INTERVAL
- NIDMM_ATTRIBUTE_SAMPLE_TRIGGER_SLOPE
- NIDMM_ATTRIBUTE_SAMPLE_TRIGGER
- NIDMM_ATTRIBUTE_TRIGGER_COUNT
- NIDMM_ATTRIBUTE_MEAS_COMPLETE_DEST
- NIDMM_ATTRIBUTE_MEAS_DEST_SLOPE
- NIDMM_ATTRIBUTE_TRIGGER_DELAY
- NIDMM_ATTRIBUTE_TRIGGER_SLOPE
- NIDMM_ATTRIBUTE_TRIGGER_SOURCE
- NIDMM_ATTRIBUTE_WAVEFORM_COUPLING
- NIDMM_ATTRIBUTE_WAVEFORM_POINTS
- NIDMM_ATTRIBUTE_WAVEFORM_RATE
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViInt32 | R/W | None | None |
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.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViInt32 | R/W | None | None |
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.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViInt32 | R/W | None | niDMM_ConfigureMultiPoint |
Specifies the number of measurements the DMM takes each time it receives a trigger in a multiple point acquisition.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViInt32 | R/W | None | None |
For the NI 4060 only, specifies a delay interval after an external sample trigger.
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. |
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViReal64 | R/W | None | niDMM_ConfigureMultiPoint |
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.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViInt32 | R/W | None | None |
Specifies the edge of the signal from the specified sample trigger source on which the DMM is triggered.
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. |
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViInt32 | R/W | None | niDMM_ConfigureMultiPoint |
Specifies the sample trigger source.
Note To determine which values are supported by each device, refer to the LabWindows/CVI Trigger Routing section.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViInt32 | R/W | None | niDMM_ConfigureMultiPoint |
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.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViInt32 | R/W | None | niDMM_ConfigureMeasCompleteDest |
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.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViInt32 | R/W | None | None |
Specifies the polarity of the generated measurement complete signal.
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. |
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViReal64 | R/W | None | None |
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.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViInt32 | R/W | None |
niDMM_ConfigureTriggerSlope niDMM_ConfigureSampleTriggerSlope |
Specifies the edge of the signal from the specified trigger source on which the DMM is triggered.
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. |
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViInt32 | R/W | None | niDMM_ConfigureTrigger |
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.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViInt32 | R/W | None | niDMM_ConfigureWaveformCoupling |
For the NI 4080/4081/4082 and NI 4070/4071/4072, specifies the coupling during a waveform acquisition.
NIDMM_VAL_WAVEFORM_COUPLING_AC | 0 | AC coupling |
---|---|---|
NIDMM_VAL_WAVEFORM_COUPLING_DC (default) | 1 | DC coupling |
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViInt32 | R/W | None | niDMM_ConfigureWaveformAcquisition |
For the NI 4080/4081/4082 and NI 4070/4071/4072 only, specifies the number of points to acquire in a waveform acquisition.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViReal64 | R/W | Yes | niDMM_ConfigureWaveformAcquisition |
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.