Table of Contents

Method ValidatePinOutputFunctionForCascading<T>

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

ValidatePinOutputFunctionForCascading<T>(bool, T)

Validates that the outputFunction for pins in cascaded pin groups in the specified sessions bundle are same when cascading validation is enabled.

public void ValidatePinOutputFunctionForCascading<T>(bool hasCascadedChannels, T pinConfigurations)

Parameters

hasCascadedChannels bool

A value indicating whether bundle has some cascaded channels or not. If set to true, the method validates that the pin configurations for cascaded pin groups are consistent.

pinConfigurations T

An object containing the pin configurations to validate. The structure and expected contents depend on the implementation of the pin configuration retrieval logic.

Type Parameters

T

The type of the object containing pin values to validate. Typically a structure or collection mapping pin or group identifiers to their values.

Remarks

This method is intended for use in scenarios where pin groups are configured to cascade multiple pins together. It ensures that, when cascading validation is enabled, all pins within a cascaded group have the same outputFunction.