Method DoAndPublishResults
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Abstractions.dll
DoAndPublishResults<TSessionInformation>(ISessionsBundle<TSessionInformation>, Func<TSessionInformation, double>, string, string)
Does an operation and publishes the results.
public static double[] DoAndPublishResults<TSessionInformation>(this ISessionsBundle<TSessionInformation> sessionsBundle, Func<TSessionInformation, double> function, string publishedDataId = "", string caseDescription = null)
Parameters
sessionsBundleISessionsBundle<TSessionInformation>The sessions bundle object.
functionFunc<TSessionInformation, double>The operation to happen on each session info.
publishedDataIdstringThe unique data id to use when publishing.
caseDescriptionstringAn optional description of the function being performed.
Returns
- double[]
The per-instrument operation results.
Type Parameters
TSessionInformationThe type of the session info.
DoAndPublishResults<TSessionInformation>(ISessionsBundle<TSessionInformation>, Func<TSessionInformation, double[]>, string, string)
Does an operation and publishes the results.
public static double[][] DoAndPublishResults<TSessionInformation>(this ISessionsBundle<TSessionInformation> sessionsBundle, Func<TSessionInformation, double[]> function, string publishedDataId = "", string caseDescription = null)
Parameters
sessionsBundleISessionsBundle<TSessionInformation>The sessions bundle object.
functionFunc<TSessionInformation, double[]>The operation to happen on each session info.
publishedDataIdstringThe unique data id to use when publishing.
caseDescriptionstringAn optional description of the function being performed.
Returns
- double[][]
The per-instrument per-channel operation results as a jagged array. Where, the first dimension represents the instrument sessions, and the second dimension represents the instrument channels within an instrument session.
Type Parameters
TSessionInformationThe type of the session info.
DoAndPublishResults<TSessionInformation>(ISessionsBundle<TSessionInformation>, Func<TSessionInformation, bool>, string, string)
Does an operation and publishes the results.
public static bool[] DoAndPublishResults<TSessionInformation>(this ISessionsBundle<TSessionInformation> sessionsBundle, Func<TSessionInformation, bool> function, string publishedDataId = "", string caseDescription = null)
Parameters
sessionsBundleISessionsBundle<TSessionInformation>The sessions bundle object.
functionFunc<TSessionInformation, bool>The operation to happen on each session info.
publishedDataIdstringThe unique data id to use when publishing.
caseDescriptionstringAn optional description of the function being performed.
Returns
- bool[]
The per-instrument operation results.
Type Parameters
TSessionInformationThe type of the session info.
DoAndPublishResults<TSessionInformation>(ISessionsBundle<TSessionInformation>, Func<TSessionInformation, bool[]>, string, string)
Does an operation and publishes the results.
public static bool[][] DoAndPublishResults<TSessionInformation>(this ISessionsBundle<TSessionInformation> sessionsBundle, Func<TSessionInformation, bool[]> function, string publishedDataId = "", string caseDescription = null)
Parameters
sessionsBundleISessionsBundle<TSessionInformation>The sessions bundle object.
functionFunc<TSessionInformation, bool[]>The operation to happen on each session info.
publishedDataIdstringThe unique data id to use when publishing.
caseDescriptionstringAn optional description of the function being performed.
Returns
- bool[][]
The per-instrument per-channel operation results as a jagged array. Where, the first dimension represents the instrument sessions, and the second dimension represents the instrument channels within an instrument session.
Type Parameters
TSessionInformationThe type of the session info.
DoAndPublishResults<TSessionInformation>(ISessionsBundle<TSessionInformation>, Func<TSessionInformation, Tuple<double[], double[]>>, string, string, string)
Does an operation and publishes the results.
public static Tuple<double[][], double[][]> DoAndPublishResults<TSessionInformation>(this ISessionsBundle<TSessionInformation> sessionsBundle, Func<TSessionInformation, Tuple<double[], double[]>> function, string publishedDataId1 = "", string publishedDataId2 = "", string caseDescription = null)
Parameters
sessionsBundleISessionsBundle<TSessionInformation>The sessions bundle object.
functionFunc<TSessionInformation, Tuple<double[], double[]>>The operation to happen on each session info. This operation returns two results.
publishedDataId1stringThe unique data id to use when publishing the first operation result.
publishedDataId2stringThe unique data id to use when publishing the second operation result.
caseDescriptionstringAn optional description of the function being performed.
Returns
- Tuple<double[][], double[][]>
The two per-instrument per-channel operation results as a tuple of two jagged arrays, one for each set of results. Where, the first dimension of each jagged array represents the instrument sessions, and the second dimension represents the instrument channels within an instrument session.
Type Parameters
TSessionInformationThe type of the session info.