Table of Contents

Interface ILib.IExecute.IDigital

Namespace
Csra.Interfaces
Assembly
Csra.dll

The interface for the Digital branch.

public interface ILib.IExecute.IDigital

Methods

ContinueToConditionalStop(PatternInfo, Action)

Continues a pattern to the next conditional stop and executed the action.

void ContinueToConditionalStop(PatternInfo pattern, Action action)

Parameters

pattern PatternInfo

Pattern to be executed.

action Action

Action to be called at the stop.

ForcePatternHalt()

Stops the currently running non-threaded pattern.

void ForcePatternHalt()

ForcePatternHalt(PatternInfo)

Stops the given pattern. Works for both threaded and non-threaded patterns.

void ForcePatternHalt(PatternInfo patternInfo)

Parameters

patternInfo PatternInfo

Pattern to halt.

RunPattern(PatternInfo)

Starts the pattern burst for the given pattern and waits for it to complete. Equivalent to calling StartPattern(PatternInfo) and WaitPatternDone(PatternInfo) in sequence.

void RunPattern(PatternInfo patternInfo)

Parameters

patternInfo PatternInfo

Pattern to run.

RunPattern(SiteVariant)

Starts the pattern burst for the given SiteVariant and waits for it to complete. Equivalent to calling StartPattern(PatternInfo) and WaitPatternDone(PatternInfo) in sequence.

void RunPattern(SiteVariant sitePatterns)

Parameters

sitePatterns SiteVariant

Sites run pattern.

RunPatternConditionalStop(PatternInfo, int, IExecutable)

Clears result field of executableObject and runs a pattern executing executableObject.Execute() at each conditional stop.

void RunPatternConditionalStop(PatternInfo pattern, int numberOfStops, IExecutable executableObject)

Parameters

pattern PatternInfo

Pattern to be executed.

numberOfStops int

Number of stops in the pattern.

executableObject IExecutable

Object contains Execute() to be called at each stop and Clear() to reset result field.

RunPatternSyncRamp(Pins, PatternInfo, string, double)

Execute pattern in sync with pre-configure ramp.

void RunPatternSyncRamp(Pins rampPin, PatternInfo patternInfo, string signalName, double timeout)

Parameters

rampPin Pins

Digital pin that ramp was configured on.

patternInfo PatternInfo

Pattern to be executed.

signalName string

Signal for ramp.

timeout double

Period of time to wait for PPMU to finish sourcing.

StartPattern(PatternInfo)

Starts the pattern burst for the given pattern without waiting for it to complete.

void StartPattern(PatternInfo patternInfo)

Parameters

patternInfo PatternInfo

Pattern to start.

StartPattern(SiteVariant)

Starts the pattern burst for the given SiteVariant without waiting for it to complete.

void StartPattern(SiteVariant sitePatterns)

Parameters

sitePatterns SiteVariant

Sites to start pattern.

WaitPatternDone(PatternInfo)

Waits for the given pattern to complete execution before returning. Works for both threaded and non-threaded patterns.

void WaitPatternDone(PatternInfo patternInfo)

Parameters

patternInfo PatternInfo

Pattern to wait for completion.