Interface ILib.ISetup.IDc
- Namespace
- Csra.Interfaces
- Assembly
- Csra.dll
The interface for the Dc branch.
public interface ILib.ISetup.IDc
- Extension Methods
Methods
Connect(Pins, bool)
Connects and optionally gates on/off the pins depending on its instrument feature (PPMU, DCVI, DCVS,...).
void Connect(Pins pins, bool gateOn = false)
Parameters
pinsPinsThe pins to connect.
gateOnboolOptional. Default no gate change, True for gate on the pins after connecting.
ConnectAllPins()
Connects all power and digital pins from level context.
void ConnectAllPins()
CreateCaptureSignal(Pins, string, tlDCVSMeterMode, double, double, int, bool)
Add capture signal to be acquired during the test execution.
void CreateCaptureSignal(Pins capturePin, string signalName, tlDCVSMeterMode meterMode, double range, double sampleRate, int sampleSize, bool loadSettings = true)
Parameters
capturePinPinsPin to be captured.
signalNamestringName of the signal.
meterModetlDCVSMeterModeMeter mode to set for capture signal.
rangedoubleRange to set for the signal.
sampleRatedoubleSample rate to capture for the signal.
sampleSizeintSample size to capture for the signal.
loadSettingsboolOptional. Load settings after configuring the capture signal. True by default.
Disconnect(Pins, bool)
Disconnects and optionally gates on/off the pins depending on its instrument feature (PPMU, DCVI, DCVS,...). It will disconnect in HiZ mode rather then of forcing 0V or 0A on VIs.
void Disconnect(Pins pins, bool gateOff = true)
Parameters
pinsPinsThe pins to disconnect.
gateOffboolOptional. Default gate off (HiZ) the pins before disconnecting, False no gate change.
Force(Pins, DcOutputMode, double, double, double, bool)
Sets the force current, force voltage or high impedance of the pins.
void Force(Pins pins, DcOutputMode mode, double forceValue, double forceRange, double clampValue, bool gateOn = true)
Parameters
pinsPinsThe pins to force.
modeDcOutputModeThe mode for forcing (e.g., Voltage or Current).
forceValuedoubleThe value to force.
forceRangedoubleThe range for force value.
clampValuedoubleWhen forcing Voltage it sets the current limit and when forcing Current it sets the voltage range.
gateOnboolOptional. Default gate on the pins after after the settings,False no gate change.
Force(Pins[], DcOutputMode[], double[], double[], double[], bool[])
Sets the force current, force voltage or high impedance of each element in pinGroups.
void Force(Pins[] pinGroups, DcOutputMode[] modes, double[] forceValues, double[] forceRanges, double[] clampValues, bool[] gateOn = null)
Parameters
pinGroupsPins[]Array of pin or pin groups.
modesDcOutputMode[]Array of the mode for each pin or pin group.
forceValuesdouble[]Array of force values for each pin or pin group.
forceRangesdouble[]Array of force ranges for each pin or pin group.
clampValuesdouble[]Array of clamp values for each pin or pin group.
gateOnbool[]Optional. Array of gate state for each pin or pin group, default gate on for all pin or pin group.
ForceHiZ(Pins)
Sets to High Impedance mode.
void ForceHiZ(Pins pins)
Parameters
pinsPinsThe pins to set in HiZ.
ForceI(Pins, double, double, double, double?, bool, bool, double?)
Sets the Force Current and the range of a DC instrument. Assuming that the instrument was already setup for remaining parameters.
void ForceI(Pins pins, double forceCurrent, double clampHiV, double currentRange, double? voltageRange = null, bool outputModeCurrent = false, bool gateOn = true, double? clampLoV = null)
Parameters
pinsPinsThe pins to force the current.
forceCurrentdoubleThe current to force.
clampHiVdoubleSets the voltage for voltage clamp high.
currentRangedoubleExpected current to set the current range.
voltageRangedouble?Optional. Expected voltage to set the voltage range or to program the voltage for DCVS.
outputModeCurrentboolOptional. Sets to true to switch to force current mode (if the mode was not previously set).
gateOnboolOptional. Default gate on the pins after after the settings,False no gate change.
clampLoVdouble?Optional. Sets the voltage for voltage clamp low.
ForceI(Pins, double, double?, double?, bool, bool)
Sets the Force current of a DC instrument. Assumes the instrument was already setup to the right modes.
void ForceI(Pins pins, double forceCurrent, double? clampHiV = null, double? clampLoV = null, bool outputModeCurrent = false, bool gateOn = true)
Parameters
pinsPinsThe pins to force the current.
forceCurrentdoubleThe current to force.
clampHiVdouble?Optional. Sets the voltage for voltage clamp high.
clampLoVdouble?Optional. Sets the voltage for voltage clamp low.
outputModeCurrentboolOptional. Sets to true to switch to force current mode (if the mode was not previously set).
gateOnboolOptional. Default gate on the pins after after the settings,False no gate change.
ForceV(Pins, double, double, double, double?, bool, bool)
Programs the force Voltage, meter range and many other parameters of a DC instrument - Advanced method with additional parameters.
void ForceV(Pins pins, double forceVoltage, double clampCurrent, double voltageRange, double? currentRange = null, bool outputModeVoltage = false, bool gateOn = true)
Parameters
pinsPinsThe pins to force the voltage.
forceVoltagedoubleThe force voltage value.
clampCurrentdoubleCurrent clamp value.
voltageRangedoubleExpected voltage to set the Voltage range, if required, else use the forceVoltage.
currentRangedouble?Optional. Expected current to set the current range.
outputModeVoltageboolOptional. Sets to true to switch to force voltage mode (if the mode was not previously set).
gateOnboolOptional. Default gate on the pins after after the settings,False no gate change.
ForceV(Pins, double, double?, bool, bool)
Programs the force Voltage of a DC instrument. Simplest Method: It assumes the instrument is already in the right mode (FI,FV) and required ranges.
void ForceV(Pins pins, double forceVoltage, double? clampCurrent = null, bool outputModeVoltage = false, bool gateOn = true)
Parameters
pinsPinsThe pins to force the voltage.
forceVoltagedoubleThe force voltage that will be set.
clampCurrentdouble?Optional. Current clamp value.
outputModeVoltageboolOptional. Sets to true to switch to force voltage mode (if the mode was not previously set).
gateOnboolOptional. Default gate on the pins after after the settings,False no gate change.
Modify(Pins, DcParameters)
Selectively program or modify any DC instrument parameter.
void Modify(Pins pins, DcParameters parameters)
Parameters
pinsPinsThe pins to set.
parametersDcParametersThe object through which each parameter can be set.
Modify(Pins, bool?, DcOutputMode?, double?, double?, double?, double?, double?, double?, DcMeterMode?, double?, double?, double?, double?, double?, double?, double?, bool?, bool?, double?, double?, double?, double?, double?, bool?, double?, double?)
Selectively program or modify any DC instrument parameter.
void Modify(Pins pins, bool? gate = null, DcOutputMode? mode = null, double? voltage = null, double? voltageAlt = null, double? current = null, double? voltageRange = null, double? currentRange = null, double? forceBandwidth = null, DcMeterMode? meterMode = null, double? meterVoltageRange = null, double? meterCurrentRange = null, double? meterBandwidth = null, double? sourceFoldLimit = null, double? sinkFoldLimit = null, double? sourceOverloadLimit = null, double? sinkOverloadLimit = null, bool? voltageAltOutput = null, bool? bleederResistor = null, double? complianceBoth = null, double? compliancePositive = null, double? complianceNegative = null, double? clampHiV = null, double? clampLoV = null, bool? highAccuracy = null, double? settlingTime = null, double? hardwareAverage = null)
Parameters
pinsPinsThe pins to set.
gatebool?Optional. Sets the gate.
modeDcOutputMode?Optional. Sets the operating mode.
voltagedouble?Optional. Sets the output voltage.
voltageAltdouble?Optional. Sets the alternate output voltage.
currentdouble?Optional. Sets the output current.
voltageRangedouble?Optional. Sets the voltage range.
currentRangedouble?Optional. Sets the current range.
forceBandwidthdouble?Optional. Sets the output compensation bandwidth.
meterModeDcMeterMode?Optional. Sets the meter mode.
meterVoltageRangedouble?Optional. Sets the meter voltage range.
meterCurrentRangedouble?Optional. Sets the meter current range.
meterBandwidthdouble?Optional. Sets the meter filter.
sourceFoldLimitdouble?Optional. Sets the source fold limit.
sinkFoldLimitdouble?Optional. Sets the sink fold limit.
sourceOverloadLimitdouble?Optional. Sets the source overload limit.
sinkOverloadLimitdouble?Optional. Sets the sink overload limit.
voltageAltOutputbool?Optional. Sets the output DAC used to force voltage (true for alternate or false for main).
bleederResistorbool?Optional. Sets the bleeder resistor�s connection state.
complianceBothdouble?Optional. Sets both compliance ranges.
compliancePositivedouble?Optional. Sets the positive compliance range.
complianceNegativedouble?Optional. Sets the negative compliance range.
clampHiVdouble?Optional. Sets the high voltage clamp value.
clampLoVdouble?Optional. Sets the low voltage clamp value.
highAccuracybool?Optional. Sets the enabled state of the high accuracy measurement voltage.
settlingTimedouble?Optional. Sets the required additional settling time for the high accuracy measurement voltage mode.
hardwareAveragedouble?Optional. Sets the meter hardware average value.
SetForceAndMeter(Pins, DcOutputMode, double, double, double, DcMeterMode, double, bool)
Programs the force and the meter's measurement parameters interface for the dc instruments.
void SetForceAndMeter(Pins pins, DcOutputMode mode, double forceValue, double forceRange, double clampValue, DcMeterMode meterMode, double measureRange, bool gateOn = true)
Parameters
pinsPinsThe pins to set force and meter parameters.
modeDcOutputModeSet the output mode to DcOutputMode Voltage, Current or HiZ.
forceValuedoubleForce voltage or current value.
forceRangedoubleVoltage or current to set the force range.
clampValuedoubleCurrent or voltage clamp value. Note: For PPMU it programs either clampVHi or clampVLo depending if sourcing or sinking current.
meterModeDcMeterModeSet the meter mode to voltage or current.
measureRangedoubleSet the meter's range to the expected current or voltage.
gateOnboolOptional. Default gate on the pins after after the settings,False no gate change.
SetMeter(Pins, DcMeterMode, double?, double?, int?, double?)
Sets the measurement interface of the instruments DCVI and DCVS.
void SetMeter(Pins pins, DcMeterMode meterMode, double? rangeValue = null, double? filterValue = null, int? hardwareAverage = null, double? outputRangeValue = null)
Parameters
pinsPinsThe pins to set meter parameters.
meterModeDcMeterModeSet the meter mode to Voltage or Current.
rangeValuedouble?Optional. Current or Voltage range depending on the selected mode.
filterValuedouble?Optional. Sets the filter value.
hardwareAverageint?Optional. Sets the hardware average for the specified DCVI pins.
outputRangeValuedouble?Optional. Current range for DCVS when you want to set the current mode - for other cases, ignore this.
SetMeter(Pins[], DcMeterMode[], double[], double[], int[], double[])
Sets the measurements interface of the instruments DCVI and DCVS.
void SetMeter(Pins[] pinGroups, DcMeterMode[] meterModes, double[] rangeValues = null, double[] filterValues = null, int[] hardwareAverages = null, double[] outputRangeValues = null)
Parameters
pinGroupsPins[]Array of pin or pin groups.
meterModesDcMeterMode[]Array of settings measurements mode voltage and current.
rangeValuesdouble[]Optional. Array of current and voltage range depending on the selected modes.
filterValuesdouble[]Optional. Array of filter values.
hardwareAveragesint[]Optional. Array of hardware average for the specified DCVI pins.
outputRangeValuesdouble[]Optional. Array of current range for DCVS when you want to set the current mode - for other cases, ignore this.