Table of Contents

Class Ramp

Namespace
CsraTestMethods.Functional
Assembly
CsraTestMethods.dll
[TestClass(Creation.TestInstance)]
[Serializable]
public class Ramp : TestCodeBase
Inheritance
TestCodeBase
Ramp
Inherited Members
TestCodeBase.AbortTest()
TestCodeBase.DebugBreak()
TestCodeBase.TheExec
TestCodeBase.TheHdw
TestCodeBase.TheProgram
TestCodeBase.FlowDomains
TestCodeBase.ShouldRunPreBody
TestCodeBase.ShouldRunBody
TestCodeBase.ShouldRunPostBody

Methods

ExecuteRamp(PinList, Pattern, string, double, double, double, int, double, int, string, string, bool, int, double, string)

Executes a ramp on the specific pin while executing a pattern in-sync with the ramp. Intended for UP5000.

[TestMethod]
[Steppable]
[CustomValidation]
public void ExecuteRamp(PinList rampPin, Pattern pattern, string signalName, double startingValue, double incrementValue, double incrementPeriod, int incrementCount, double startDelay, int captureLimit, string captureType, string triggerType, bool waitForEvent, int preTriggerCycleCount, double timeout, string setup = "")

Parameters

rampPin PinList

Digital pin for ramp to be configured on.

pattern Pattern

The pattern to be executed during the test.

signalName string

The signal name for the ramp.

startingValue double

The starting value for the ramp.

incrementValue double

The value at which the ramp will increment.

incrementPeriod double

The period at which the ramp will increment.

incrementCount int

The number of times the ramp will increment.

startDelay double

The delay to begin incrementing from the start of the ramp.

captureLimit int

The capture limit for the HRAM.

captureType string

The capture type for the HRAM.

triggerType string

The Trigger type for the HRAM.

waitForEvent bool

Whether to wait for an event when capturing the HRAM.

preTriggerCycleCount int

The pre-trigger cycle count for the HRAM.

timeout double

The time limit for PPMU sourcing before timeout.

setup string

Optional. Setup to be applied before the pattern is run.

ExecuteRampPatternControl(PinList, PinList, Pattern, string, double, double, double, int, double, int, string, double, string)

Execute a ramp on the specific pin while executing a pattern in-sync with the ramp and use UP5000-specific functionality to control the PPMU on the capture pin through the pattern.

[TestMethod]
[Steppable]
[CustomValidation]
public void ExecuteRampPatternControl(PinList rampPin, PinList capturePin, Pattern pattern, string signalName, double startingValue, double incrementValue, double incrementPeriod, int incrementCount, double startDelay, int numSamplesPerStrobe, string readFormat, double timeout, string setup = "")

Parameters

rampPin PinList

The digital pin to configure the ramp on.

capturePin PinList

The digital pin to capture data on through pattern control using the PPMU.

pattern Pattern

The pattern to execute.

signalName string

The name of the signal for the ramp.

startingValue double

The starting value of the ramp.

incrementValue double

The value by which the ramp increments.

incrementPeriod double

The period between each increment of the ramp.

incrementCount int

The amount of times the ramp increments during execution.

startDelay double

The delay between the start of the ramp and the first increment.

numSamplesPerStrobe int

The number of samples per strobe.

readFormat string

The reading format of the data.

timeout double

The time to wait for sourcing on the PPMU before timeout.

setup string

Optional. Setup to be applied before the pattern is run.