Specifies when the measure unit should acquire measurements. Unless this attribute is configured to NIDCPOWER_VAL_ON_MEASURE_TRIGGER, the NIDCPOWER_ATTR_MEASURE_TRIGGER_TYPE attribute is ignored.

Syntax

NIDCPOWER_ATTR_MEASURE_WHEN

Numeric Value

Data Type

Access

Applies To

1150057

ViInt32

Read/Write

Channels

Remarks

Note

NI-DCPower uses the terms "source" and "output". However, while sinking with electronic loads and SMUs these correspond to "sinking" and "input", respectively.

Note

To specify a channel name when accessing this attribute, you must first initialize the session using the niDCPower_InitializeWithIndependentChannels function.

Defined Values:

Name

Value

Description

NIDCPOWER_VAL_AUTOMATICALLY_AFTER_SOURCE_COMPLETE

1025 (0x401)

Acquires a measurement after each Source Complete event.

NIDCPOWER_VAL_ON_DEMAND

1026 (0x402)

Acquires a measurement when the niDCPower_Measure function or niDCPower_MeasureMultiple function is called.

NIDCPOWER_VAL_ON_MEASURE_TRIGGER

1027 (0x403)

Acquires a measurement when a Measure trigger is received.

Default Value: If the NIDCPOWER_ATTR_SOURCE_MODE attribute is set to NIDCPOWER_VAL_SINGLE_POINT, the default value is NIDCPOWER_VAL_ON_DEMAND. This value supports only the niDCPower_Measure function and niDCPower_MeasureMultiple function. If the NIDCPOWER_ATTR_SOURCE_MODE attribute is set to NIDCPOWER_VAL_SEQUENCE, the default value is NIDCPOWER_VAL_AUTOMATICALLY_AFTER_SOURCE_COMPLETE. This value supports only the niDCPower_FetchMultiple function.

Related Topics: