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
sessionsBundleDCPowerSessionsBundleThe DCPowerSessionsBundle object.
failedChannelsIEnumerable<string>Returns the channels that fail the check.
expectedVoltagesIDictionary<string, double>The expected per-pin voltages.
Returns
- bool
 Whether all channels pass the check.