Method DoAndReturnPerSitePerPinResults
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Abstractions.dll
DoAndReturnPerSitePerPinResults<TSessionInformation, TResult>(ISessionsBundle<TSessionInformation>, Func<TSessionInformation, TResult[]>, string)
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)
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
- PinSiteData<TResult>
The per-site per-pin results of the operation.
Type Parameters
TSessionInformationThe type of the session info.
TResultThe 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)
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)
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
- PinSiteData<TResult>
The per-site per-pin results of the operation.
Type Parameters
TSessionInformationThe type of the session info.
TResultThe 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)
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)
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<PinSiteData<TResult1>, PinSiteData<TResult2>>
The per-site per-pin results of the operation.
Type Parameters
TSessionInformationThe type of the session info.
TResult1The element type of the first array item of the operation result.
TResult2The 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)
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)
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
- PinSiteData<TResult[]>
The per-site per-pin results of the operation.
Type Parameters
TSessionInformationThe type of the session info.
TResultThe 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)
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)
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.
caseDescriptionstringAn optional description of the action being performed.
Returns
- PinSiteData<TResult>
The per-site per-pin results of the operation.
Type Parameters
TSessionInformationThe type of the session info.
TResultThe type of the operation result.