Method DoAndReturnPerSitePerPinResults
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Abstractions.dll
DoAndReturnPerSitePerPinResults<TSessionInformation, TResult>(ISessionsBundle<TSessionInformation>, Func<TSessionInformation, 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)
Parameters
sessionsBundle
ISessionsBundle<TSessionInformation>The sessions bundle object.
function
Func<TSessionInformation, TResult[]>The operation to happen on each session info.
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>)
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)
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.
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[]>>)
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)
Parameters
sessionsBundle
ISessionsBundle<TSessionInformation>The sessions bundle object.
function
Func<TSessionInformation, Tuple<TResult1[], TResult2[]>>The operation to happen on each session info.
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[,]>)
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)
Parameters
sessionsBundle
ISessionsBundle<TSessionInformation>The sessions bundle object.
function
Func<TSessionInformation, TResult[,]>The operation to happen on each session info.
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[]>)
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)
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.
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.