Acquire Measurements
- Updated2025-03-27
- 1 minute(s) read
The applied channel configuration determines how the PXIe-4162 acquires measurements.
Measuring and Querying
Use the following functions to acquire measurements in Single Point source mode:
- Measure with the niDCPower Measure Multiple VI or the niDCPower_MeasureMultiple function.
- Call the niDCPower Query in Compliance VI or the niDCPower_QueryInCompliance function to query the output state.
Fetching
The PXIe-4162 automatically acquires measurements when you configure the following VIs or functions:
- niDCPower Create Advanced Sequence With Channels VI or the niDCPower_CreateAdvancedSequenceWithChannels function
- niDCPower Set Sequence VI or the niDCPower_SetSequence function
- niDCPower Configure Output Function VI set to Pulse Voltage or Pulse Current or the niDCPower_ConfigureOutputFunction function set to NIDCPOWER_VAL_PULSE_CURRENT or NIDCPOWER_VAL_PULSE_VOLTAGE
These measurements are automatically acquired by coercing the niDCPower Measure When property to Automatically After Source Complete or the NIDCPOWER_ATTR_MEASURE_WHEN attribute to NIDCPOWER_VAL_AUTOMATICALLY_AFTER_SOURCE_COMPLETE. To fetch these measurements, call the niDCPower Fetch Multiple VI or the niDCPower_FetchMultiple function. NI-DCPower returns the measurement values in an array.
Note If
you want the measure unit to operate independently of the source unit in this context, set
the niDCPower Measure When property or the NIDCPOWER_ATTR_MEASURE_WHEN attribute to a value
other than Automatically After Source Complete or
NIDCPOWER_VAL_AUTOMATICALLY_AFTER_SOURCE_COMPLETE.