Class Ramp
- Namespace
- CsraTestMethods.Functional
- Assembly
- CsraTestMethods.dll
[TestClass(Creation.TestInstance)]
[Serializable]
public class Ramp : TestCodeBase
- Inheritance
-
TestCodeBaseRamp
- Inherited Members
-
TestCodeBase.AbortTest()TestCodeBase.DebugBreak()TestCodeBase.TheExecTestCodeBase.TheHdwTestCodeBase.TheProgramTestCodeBase.FlowDomainsTestCodeBase.ShouldRunPreBodyTestCodeBase.ShouldRunBodyTestCodeBase.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
rampPinPinListDigital pin for ramp to be configured on.
patternPatternThe pattern to be executed during the test.
signalNamestringThe signal name for the ramp.
startingValuedoubleThe starting value for the ramp.
incrementValuedoubleThe value at which the ramp will increment.
incrementPerioddoubleThe period at which the ramp will increment.
incrementCountintThe number of times the ramp will increment.
startDelaydoubleThe delay to begin incrementing from the start of the ramp.
captureLimitintThe capture limit for the HRAM.
captureTypestringThe capture type for the HRAM.
triggerTypestringThe Trigger type for the HRAM.
waitForEventboolWhether to wait for an event when capturing the HRAM.
preTriggerCycleCountintThe pre-trigger cycle count for the HRAM.
timeoutdoubleThe time limit for PPMU sourcing before timeout.
setupstringOptional. 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
rampPinPinListThe digital pin to configure the ramp on.
capturePinPinListThe digital pin to capture data on through pattern control using the PPMU.
patternPatternThe pattern to execute.
signalNamestringThe name of the signal for the ramp.
startingValuedoubleThe starting value of the ramp.
incrementValuedoubleThe value by which the ramp increments.
incrementPerioddoubleThe period between each increment of the ramp.
incrementCountintThe amount of times the ramp increments during execution.
startDelaydoubleThe delay between the start of the ramp and the first increment.
numSamplesPerStrobeintThe number of samples per strobe.
readFormatstringThe reading format of the data.
timeoutdoubleThe time to wait for sourcing on the PPMU before timeout.
setupstringOptional. Setup to be applied before the pattern is run.