Method CreateRampSequence
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Extensions.dll
CreateRampSequence(double, double, int)
Creates a ramp sequence of double values from outputStart to outputStop with the specified number of points.
public static double[] CreateRampSequence(double outputStart, double outputStop, int numberOfPoints)Parameters
outputStartdouble-
The starting value of the ramp.
outputStopdouble-
The ending value of the ramp.
numberOfPointsint-
The number of points in the ramp sequence.
Returns
- double[]
-
An array of double values that represents the ramp sequence.
Exceptions
- NISemiconductorTestException
-
Thrown when numberOfPoints is less than or equal to zero.
- NISemiconductorTestException
-
Thrown when outputStart is NaN or Infinity.
- NISemiconductorTestException
-
Thrown when outputStop is NaN or Infinity.
CreateRampSequence(int[], double, double, int)
Creates a ramp sequence and wraps it in a SiteData object for the specified site numbers.
public static SiteData<double[]> CreateRampSequence(int[] siteNumbers, double outputStart, double outputStop, int numberOfPoints)Parameters
siteNumbersint[]-
The site numbers to associate with a ramp sequence.
outputStartdouble-
The starting value of the ramp.
outputStopdouble-
The ending value of the ramp.
numberOfPointsint-
The number of points in the ramp sequence.
Returns
CreateRampSequence(string[], int[], double, double, int)
Creates a ramp sequence and wraps it in a PinSiteData object for the specified pin names and site numbers.
public static PinSiteData<double[]> CreateRampSequence(string[] pinNames, int[] siteNumbers, double outputStart, double outputStop, int numberOfPoints)Parameters
pinNamesstring[]-
The pin names to associate with a ramp sequence.
siteNumbersint[]-
The site numbers to associate with a ramp sequence.
outputStartdouble-
The starting value of the ramp.
outputStopdouble-
The ending value of the ramp.
numberOfPointsint-
The number of points in the ramp sequence.
Returns
- PinSiteData<double[]>
-
A PinSiteData object that contains the ramp sequence for the specified pins and sites.
CreateRampSequence(int[], double[], double[], int[])
Creates a unique ramp sequence for each site using per-site input values.
public static SiteData<double[]> CreateRampSequence(int[] siteNumbers, double[] outputStart, double[] outputStop, int[] numberOfPoints)Parameters
siteNumbersint[]-
The site numbers to associate with a ramp sequence.
outputStartdouble[]-
Array of starting values for each ramp sequence.
outputStopdouble[]-
Array of ending values for each ramp sequence.
numberOfPointsint[]-
Array specifying the number of points in each ramp sequence.
Returns
CreateRampSequence(string[], int[], double[], double[], int[])
Creates a unique ramp sequence for each pin using per-pin input values.
public static PinSiteData<double[]> CreateRampSequence(string[] pinNames, int[] siteNumbers, double[] outputStart, double[] outputStop, int[] numberOfPoints)Parameters
pinNamesstring[]-
The pin names to associate with a ramp sequence.
siteNumbersint[]-
The site numbers to associate with a ramp sequence.
outputStartdouble[]-
Array of starting values for each ramp sequence.
outputStopdouble[]-
Array of ending values for each ramp sequence.
numberOfPointsint[]-
Array specifying the number of points in each ramp sequence.
Returns
- PinSiteData<double[]>
-
A PinSiteData object that contains the generated ramp sequences for each pin-site combination.
Remarks
For a given pin, the generated sequence is the same across all sites.
CreateRampSequence(string[], int[], double[][], double[][], int[][])
Creates a unique ramp sequence for each pin and each site using per-pin, per-site input values.
public static PinSiteData<double[]> CreateRampSequence(string[] pinNames, int[] siteNumbers, double[][] outputStart, double[][] outputStop, int[][] numberOfPoints)Parameters
pinNamesstring[]-
The pin names to associate with a ramp sequence.
siteNumbersint[]-
The site numbers to associate with a ramp sequence.
outputStartdouble[][]-
2D jagged array of starting values. One value for each pin and site-unique ramp sequence, where the first dimension represents pins and the second dimension represents sites.
outputStopdouble[][]-
2D jagged array of ending values. One value for each pin and site-unique ramp sequence, where the first dimension represents pins and the second dimension represents sites.
numberOfPointsint[][]-
2D jagged array that specifies the number of points for each pin and site-unique ramp sequence, where the first dimension represents pins and the second dimension represents sites.
Returns
- PinSiteData<double[]>
-
A PinSiteData object that contains the generated ramp sequences for each pin-site combination.