Table of Contents

Method ValidatePinValuesForCascading<T>

Namespace
NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DCPower
Assembly
NationalInstruments.SemiconductorTestLibrary.Abstractions.dll

ValidatePinValuesForCascading<T>(bool, T, DCPowerSourceOutputFunction?)

Validates that the pin values for the cascaded pin groups in the specified sessions bundle are consistent when cascading validation is enabled.

public void ValidatePinValuesForCascading<T>(bool hasCascadedChannels, T pinValues, DCPowerSourceOutputFunction? outputFunction = null)

Parameters

hasCascadedChannels bool

A value that indicates if a bundle has cascaded channels. If set to true, the method validates that the pin values for the cascaded pin groups are consistent.

pinValues T

An object that contains the pin values to validate. The structure and expected contents depend on the implementation of the pin value retrieval logic.

outputFunction DCPowerSourceOutputFunction?

The NationalInstruments.ModularInstruments.NIDCPower.DCPowerSourceOutputFunction object.

Type Parameters

T

The type of the object that contains pin values to validate. Typically a structure or collection that maps pin or group identifiers to their values.

Remarks

Use this method when pin groups are configured to cascade multiple pins together. This method ensures that all pins within a cascaded group have consistent values when cascading validation is enabled.