NIDCPOWER_ATTR_RESET_AVERAGE_BEFORE_MEASUREMENT
Specific Attribute
Data type |
Access | Applies to | Coercion | High-Level Functions |
---|---|---|---|---|
ViBoolean | R/W | Channel | None | None |
Description
Specifies whether the measurement returned from any measurement call starts with a new measurement call or returns a measurement that has already begun or completed.
When you set the NIDCPOWER_ATTR_SAMPLES_TO_AVERAGE attribute in Immediate mode, the output channel measurements might move out of synchronization. While NI-DCPower automatically synchronizes measurements upon the initialization of a session, you can force a synchronization in Immediate mode before you run the niDCPower_MeasureMultiple function. To force a synchronization in Immediate mode, set the NIDCPOWER_ATTR_RESET_AVERAGE_BEFORE_MEASUREMENT attribute to VI_TRUE, and then run the niDCPower_MeasureMultiple function specifying all channels in the channelName parameter. You can set the NIDCPOWER_ATTR_RESET_AVERAGE_BEFORE_MEASUREMENT attribute to VI_FALSE after the niDCPower_MeasureMultiple function completes.
Defined Values:
VI_TRUE | Reset the average before measurement. |
VI_FALSE | Do not reset the average before measurement. |
Default Value: VI_TRUE