Method CheckDCVoltageModeAndLevels
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Extensions.dll
CheckDCVoltageModeAndLevels(DCPowerSessionsBundle, out IEnumerable<string>, IDictionary<string, double>)
Checks if the output function is set to DCVoltage and the level(s) are set to the expected values.
public static bool CheckDCVoltageModeAndLevels(this DCPowerSessionsBundle sessionsBundle, out IEnumerable<string> failedChannels, IDictionary<string, double> expectedVoltages = null)
Parameters
sessionsBundle
DCPowerSessionsBundleThe DCPowerSessionsBundle object.
failedChannels
IEnumerable<string>Returns the channels that fail the check.
expectedVoltages
IDictionary<string, double>The expected per-pin voltages.
Returns
- bool
Whether all channels pass the check.