Enums

Enums used in NI-DCPower

ApertureTimeUnits

class nidcpower.ApertureTimeUnits
SECONDS

Specifies aperture time in seconds.

POWER_LINE_CYCLES

Specifies aperture time in power line cycles (PLCs).

AutoZero

class nidcpower.AutoZero
OFF

Disables auto zero.

ON

Makes zero conversions for every measurement.

ONCE

Makes zero conversions following the first measurement after initiating the device. The device uses these zero conversions for the preceding measurement and future measurements until the device is reinitiated.

ComplianceLimitSymmetry

class nidcpower.ComplianceLimitSymmetry
SYMMETRIC

Compliance limits are specified symmetrically about 0.

ASYMMETRIC

Compliance limits can be specified asymmetrically with respect to 0.

DCNoiseRejection

class nidcpower.DCNoiseRejection
SECOND_ORDER

Second-order rejection of DC noise.

NORMAL

Normal rejection of DC noise.

Event

class nidcpower.Event
SOURCE_COMPLETE
MEASURE_COMPLETE
SEQUENCE_ITERATION_COMPLETE
SEQUENCE_ENGINE_DONE
PULSE_COMPLETE
READY_FOR_PULSE_TRIGGER

MeasureWhen

class nidcpower.MeasureWhen
AUTOMATICALLY_AFTER_SOURCE_COMPLETE

Acquires a measurement after each Source Complete event completes.

ON_DEMAND

Acquires a measurement when the nidcpower.Session.measure() method or nidcpower.Session.measure_multiple() method is called.

ON_MEASURE_TRIGGER

Acquires a measurement when a Measure trigger is received.

MeasurementTypes

class nidcpower.MeasurementTypes
CURRENT

The device measures current.

VOLTAGE

The device measures voltage.

OutputCapacitance

class nidcpower.OutputCapacitance
LOW

Output Capacitance is low.

HIGH

Output Capacitance is high.

OutputFunction

class nidcpower.OutputFunction
DC_VOLTAGE

Sets the output method to DC voltage.

DC_CURRENT

Sets the output method to DC current.

PULSE_VOLTAGE

Sets the output method to pulse voltage.

PULSE_CURRENT

Sets the output method to pulse current.

OutputStates

class nidcpower.OutputStates
VOLTAGE

The device maintains a constant voltage by adjusting the current

CURRENT

The device maintains a constant current by adjusting the voltage.

Polarity

class nidcpower.Polarity
HIGH

A high pulse occurs when the event is generated. The exported signal is low level both before and after the event is generated.

LOW

A low pulse occurs when the event is generated. The exported signal is high level both before and after the event is generated.

PowerSource

class nidcpower.PowerSource
INTERNAL

Uses the PXI chassis power source.

AUXILIARY

Uses the auxiliary power source connected to the device.

AUTOMATIC

Uses the auxiliary power source if it is available; otherwise uses the PXI chassis power source.

PowerSourceInUse

class nidcpower.PowerSourceInUse
INTERNAL

Uses the PXI chassis power source.

AUXILIARY

Uses the auxiliary power source connected to the device. Only the NI PXI-4110, NI PXIe-4112, NI PXIe-4113, and NI PXI-4130 support this value. This is the only supported value for the NI PXIe-4112 and NI PXIe-4113.

SelfCalibrationPersistence

class nidcpower.SelfCalibrationPersistence
KEEP_IN_MEMORY

Keep new self calibration values in memory only.

WRITE_TO_EEPROM

Write new self calibration values to hardware.

SendSoftwareEdgeTriggerType

class nidcpower.SendSoftwareEdgeTriggerType
START
SOURCE
MEASURE
SEQUENCE_ADVANCE
PULSE

Sense

class nidcpower.Sense
LOCAL

Local sensing is selected.

REMOTE

Remote sensing is selected.

SourceMode

class nidcpower.SourceMode
SINGLE_POINT

The source unit applies a single source configuration.

SEQUENCE

The source unit applies a list of voltage or current configurations sequentially.

TransientResponse

class nidcpower.TransientResponse
NORMAL

The output responds to changes in load at a normal speed.

FAST

The output responds to changes in load quickly.

SLOW

The output responds to changes in load slowly.

CUSTOM

The output responds to changes in load based on specified values.

TriggerType

class nidcpower.TriggerType
NONE

No trigger is configured.

DIGITAL_EDGE

The data operation starts when a digital edge is detected.

SOFTWARE_EDGE

The data operation starts when a software trigger occurs.