Method DoAndReturnPerInstrumentPerChannelResults
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Abstractions.dll
DoAndReturnPerInstrumentPerChannelResults<TSessionInformation, TResult>(ISessionsBundle<TSessionInformation>, Func<TSessionInformation, TResult>, string)
Does an operation on all sessions in parallel with the same inputs and returns per-instrument per-channel results.
public static TResult[] DoAndReturnPerInstrumentPerChannelResults<TSessionInformation, TResult>(this ISessionsBundle<TSessionInformation> sessionsBundle, Func<TSessionInformation, TResult> function, string caseDescription = null)
Parameters
sessionsBundleISessionsBundle<TSessionInformation>The sessions bundle object.
functionFunc<TSessionInformation, TResult>The operation to happen on each session info.
caseDescriptionstringAn optional description of the function being performed.
Returns
- TResult[]
An array of the operation results for all sessions.
Type Parameters
TSessionInformationThe type of the session info.
TResultThe type of the operation result.
DoAndReturnPerInstrumentPerChannelResults<TSessionInformation, TResult>(ISessionsBundle<TSessionInformation>, Func<TSessionInformation, SitePinInfo, TResult>, string)
Does an operation on all sessions and channels in parallel and returns per-instrument per-channel results.
public static TResult[][] DoAndReturnPerInstrumentPerChannelResults<TSessionInformation, TResult>(this ISessionsBundle<TSessionInformation> sessionsBundle, Func<TSessionInformation, SitePinInfo, TResult> function, string caseDescription = null)
Parameters
sessionsBundleISessionsBundle<TSessionInformation>The sessions bundle object.
functionFunc<TSessionInformation, SitePinInfo, TResult>The operation to happen on each session info. The second parameter is the SitePinInfo associated with a single channel.
caseDescriptionstringAn optional description of the function being performed.
Returns
- TResult[][]
An array of the operation results for all sessions.
Type Parameters
TSessionInformationThe type of the session info.
TResultThe type of the operation result.
DoAndReturnPerInstrumentPerChannelResults<TSessionInformation, TResult1, TResult2>(ISessionsBundle<TSessionInformation>, Func<TSessionInformation, Tuple<TResult1, TResult2>>, string)
Does an operation on all sessions in parallel with the same inputs and returns per-instrument per-channel results.
public static Tuple<TResult1[], TResult2[]> DoAndReturnPerInstrumentPerChannelResults<TSessionInformation, TResult1, TResult2>(this ISessionsBundle<TSessionInformation> sessionsBundle, Func<TSessionInformation, Tuple<TResult1, TResult2>> function, string caseDescription = null)
Parameters
sessionsBundleISessionsBundle<TSessionInformation>The sessions bundle object.
functionFunc<TSessionInformation, Tuple<TResult1, TResult2>>The operation to happen on each session info.
caseDescriptionstringAn optional description of the function being performed.
Returns
- Tuple<TResult1[], TResult2[]>
Two arrays of the operation results for all sessions.
Type Parameters
TSessionInformationThe type of the session info.
TResult1The type of the first item of the operation result.
TResult2The type of the second item of the operation result.