NI-Digital Pattern Driver .NET Class Library

Table of Contents

DigitalDriverUtility.SortPinResultsBySite Method (NIDigital[], String, Double[][], String[], Int32[])

  • Updated2023-11-24
  • 2 minute(s) read
DigitalDriverUtility.SortPinResultsBySite Method (NIDigital[], String, Double[][], String[], Int32[])

DigitalDriverUtilitySortPinResultsBySite Method (NIDigital, String, Double, String, Int32)

Organizes data read from multiple digital pattern instruments by grouping the data by site number.

Namespace:  NationalInstruments.ModularInstruments.NIDigital
Assembly:  NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021

Syntax

public static double[] SortPinResultsBySite(
	NIDigital[] sessions,
	string pinSetString,
	double[][] resultsToSort,
	out string[] pinNames,
	out int[] siteNumbers
)
Public Shared Function SortPinResultsBySite ( 
	sessions As NIDigital(),
	pinSetString As String,
	resultsToSort As Double()(),
	<OutAttribute> ByRef pinNames As String(),
	<OutAttribute> ByRef siteNumbers As Integer()
) As Double()

Parameters

sessions
Type: NationalInstruments.ModularInstruments.NIDigitalNIDigital
The instrument sessions to return data for.
pinSetString
Type: SystemString
The pin set from which to read data.
resultsToSort
Type: SystemDouble
The data read from the digital pattern instruments, combined into a two-dimensional array.
pinNames
Type: SystemString
An array of DUT pin names corresponding to the values in DUT pin results.
siteNumbers
Type: SystemInt32
An array of site numbers corresponding to the values in DUT pin results.

Return Value

Type: Double
Returns the sorted and merged results as a one-dimensional array. Each element in this array represents a pin result corresponding to the pin at the same element of the pinNames parameter.

Exceptions

ExceptionCondition
SelectorNameExceptionThe value for pinSetString contains a pin or pin group name not loaded in the pin map.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Log in to get a better experience