Method DoAndReturnPerSitePerPinResults<TSessionInformation, TResult>
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Abstractions.dll
DoAndReturnPerSitePerPinResults<TSessionInformation, TResult>(ISessionsBundle<TSessionInformation>, Func<TSessionInformation, TResult[]>, string, PinSiteResultsFilling<TResult>)
Does an operation on all sessions in parallel with the same inputs and returns per-site per-pin results.
public static PinSiteData<TResult> DoAndReturnPerSitePerPinResults<TSessionInformation, TResult>(this ISessionsBundle<TSessionInformation> sessionsBundle, Func<TSessionInformation, TResult[]> function, string caseDescription = null, ParallelExecution.PinSiteResultsFilling<TResult> customPinSiteResultsFilling = null)Parameters
sessionsBundleISessionsBundle<TSessionInformation>-
The sessions bundle object.
functionFunc<TSessionInformation, TResult[]>-
The operation to happen on each session info.
caseDescriptionstring-
An optional description of the function being performed.
customPinSiteResultsFillingParallelExecution.PinSiteResultsFilling<TResult>-
The custom logic for filling the results dictionary.
Returns
- PinSiteData<TResult>
-
The per-site per-pin results of the operation.
Type Parameters
TSessionInformation-
The type of the session info.
TResult-
The type of the operation result.
Remarks
The output parameter of the function is the per-instrument all channels result.
DoAndReturnPerSitePerPinResults<TSessionInformation, TResult>(ISessionsBundle<TSessionInformation>, Func<TSessionInformation, SitePinInfo, TResult>, string, PinSiteResultsFilling<TResult>)
Does an operation on all sessions and channels in parallel and returns per-site per-pin results.
public static PinSiteData<TResult> DoAndReturnPerSitePerPinResults<TSessionInformation, TResult>(this ISessionsBundle<TSessionInformation> sessionsBundle, Func<TSessionInformation, SitePinInfo, TResult> function, string caseDescription = null, ParallelExecution.PinSiteResultsFilling<TResult> customPinSiteResultsFilling = 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 NationalInstruments.SemiconductorTestLibrary.Common.SitePinInfo associated with a single channel.
caseDescriptionstring-
An optional description of the function being performed.
customPinSiteResultsFillingParallelExecution.PinSiteResultsFilling<TResult>-
The custom logic for filling the pin site results dictionary.
Returns
- PinSiteData<TResult>
-
The per-site per-pin results of the operation.
Type Parameters
TSessionInformation-
The type of the session info.
TResult-
The type of the operation result.
Remarks
The output parameter of the function is the per-instrument per channel result.
DoAndReturnPerSitePerPinResults<TSessionInformation, TResult1, TResult2>(ISessionsBundle<TSessionInformation>, Func<TSessionInformation, Tuple<TResult1[], TResult2[]>>, string, PinSiteResultsFilling<TResult1>, PinSiteResultsFilling<TResult2>)
Does an operation on all sessions in parallel with the same inputs and returns per-site per-pin results.
public static Tuple<PinSiteData<TResult1>, PinSiteData<TResult2>> DoAndReturnPerSitePerPinResults<TSessionInformation, TResult1, TResult2>(this ISessionsBundle<TSessionInformation> sessionsBundle, Func<TSessionInformation, Tuple<TResult1[], TResult2[]>> function, string caseDescription = null, ParallelExecution.PinSiteResultsFilling<TResult1> customPinSiteResultsFilling1 = null, ParallelExecution.PinSiteResultsFilling<TResult2> customPinSiteResultsFilling2 = null)Parameters
sessionsBundleISessionsBundle<TSessionInformation>-
The sessions bundle object.
functionFunc<TSessionInformation, Tuple<TResult1[], TResult2[]>>-
The operation to happen on each session info.
caseDescriptionstring-
An optional description of the function being performed.
customPinSiteResultsFilling1ParallelExecution.PinSiteResultsFilling<TResult1>-
The custom logic for filling pin site results dictionary for first array item.
customPinSiteResultsFilling2ParallelExecution.PinSiteResultsFilling<TResult2>-
The custom logic for filling pin site results dictionary for second array item.
Returns
- Tuple<PinSiteData<TResult1>, PinSiteData<TResult2>>
-
The per-site per-pin results of the operation.
Type Parameters
TSessionInformation-
The type of the session info.
TResult1-
The element type of the first array item of the operation result.
TResult2-
The element type of the second array item of the operation result.
Remarks
The output parameter of the function is the per-instrument all channels result.
DoAndReturnPerSitePerPinResults<TSessionInformation, TResult>(ISessionsBundle<TSessionInformation>, Func<TSessionInformation, TResult[,]>, string, PinSiteResultsFilling<TResult[]>)
Does an operation on all sessions in parallel with the same inputs and returns per-site per-pin results.
public static PinSiteData<TResult[]> DoAndReturnPerSitePerPinResults<TSessionInformation, TResult>(this ISessionsBundle<TSessionInformation> sessionsBundle, Func<TSessionInformation, TResult[,]> function, string caseDescription = null, ParallelExecution.PinSiteResultsFilling<TResult[]> customPinSiteResultsFilling = null)Parameters
sessionsBundleISessionsBundle<TSessionInformation>-
The sessions bundle object.
functionFunc<TSessionInformation, TResult[,]>-
The operation to happen on each session info.
caseDescriptionstring-
An optional description of the function being performed.
customPinSiteResultsFillingParallelExecution.PinSiteResultsFilling<TResult[]>-
The custom logic for filling the pin site results dictionary.
Returns
- PinSiteData<TResult[]>
-
The per-site per-pin results of the operation.
Type Parameters
TSessionInformation-
The type of the session info.
TResult-
The type of the operation result.
Remarks
The output parameter of the function is the per-instrument all channels result.
DoAndReturnPerSitePerPinResults<TSessionInformation, TResult>(ISessionsBundle<TSessionInformation>, Func<TSessionInformation, int, TResult[]>, string, PinSiteResultsFilling<TResult>)
Does an operation on all sessions in parallel with the same inputs and returns per-site per-pin results.
public static PinSiteData<TResult> DoAndReturnPerSitePerPinResults<TSessionInformation, TResult>(this ISessionsBundle<TSessionInformation> sessionsBundle, Func<TSessionInformation, int, TResult[]> function, string caseDescription = null, ParallelExecution.PinSiteResultsFilling<TResult> customPinSiteResultsFilling = null)Parameters
sessionsBundleISessionsBundle<TSessionInformation>-
The sessions bundle object.
functionFunc<TSessionInformation, int, TResult[]>-
The operation to happen on each session info. The second parameter is the session index. The output parameter is the per-instrument result.
caseDescriptionstring-
An optional description of the action being performed.
customPinSiteResultsFillingParallelExecution.PinSiteResultsFilling<TResult>-
The custom logic for filling the pin site results dictionary.
Returns
- PinSiteData<TResult>
-
The per-site per-pin results of the operation.
Type Parameters
TSessionInformation-
The type of the session info.
TResult-
The type of the operation result.