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
sessionsBundle
ISessionsBundle<TSessionInformation>The sessions bundle object.
function
Func<TSessionInformation, TResult[]>The operation to happen on each session info.
caseDescription
stringAn optional description of the function being performed.
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)
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
sessionsBundle
ISessionsBundle<TSessionInformation>The sessions bundle object.
function
Func<TSessionInformation, SitePinInfo, TResult>The operation to happen on each session info. The second parameter is the SitePinInfo associated with a single channel.
caseDescription
stringAn optional description of the function being performed.
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)
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
sessionsBundle
ISessionsBundle<TSessionInformation>The sessions bundle object.
function
Func<TSessionInformation, Tuple<TResult1[], TResult2[]>>The operation to happen on each session info.
caseDescription
stringAn optional description of the function being performed.
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)
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
sessionsBundle
ISessionsBundle<TSessionInformation>The sessions bundle object.
function
Func<TSessionInformation, TResult[,]>The operation to happen on each session info.
caseDescription
stringAn optional description of the function being performed.
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)
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
sessionsBundle
ISessionsBundle<TSessionInformation>The sessions bundle object.
function
Func<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.
caseDescription
stringAn optional description of the action being performed.
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.