C# Class DAQ.Analog.AnalogPatternBuilder

Mostrar archivo Open project: ColdMatter/EDMSuite Class Usage Examples

Public Properties

Property Type Description
AnalogPatterns Dictionary>
Pattern ].double[
PatternLength int

Public Methods

Method Description
AddAnalogPulse ( string channel, int startTime, int duration, double value, double finalValue ) : void
AddAnalogValue ( string channel, int time, double value ) : void
AddChannel ( string channelName ) : void
AddLinearRamp ( string channel, int startTime, int steps, double finalValue ) : void
AnalogPatternBuilder ( int patternLength ) : System
AnalogPatternBuilder ( string channelNames, int patternLength ) : System
BuildPattern ( ) : ].double[
GetValue ( string channel, int time ) : double
SwitchAllOffAtEndOfPattern ( ) : void
SwitchOffAtEndOfPattern ( string channel ) : void

Private Methods

Method Description
buildSinglePattern ( string channel ) : double[]
getSortedListOfEvents ( string channel ) : List

Method Details

AddAnalogPulse() public method

public AddAnalogPulse ( string channel, int startTime, int duration, double value, double finalValue ) : void
channel string
startTime int
duration int
value double
finalValue double
return void

AddAnalogValue() public method

public AddAnalogValue ( string channel, int time, double value ) : void
channel string
time int
value double
return void

AddChannel() public method

public AddChannel ( string channelName ) : void
channelName string
return void

AddLinearRamp() public method

public AddLinearRamp ( string channel, int startTime, int steps, double finalValue ) : void
channel string
startTime int
steps int
finalValue double
return void

AnalogPatternBuilder() public method

public AnalogPatternBuilder ( int patternLength ) : System
patternLength int
return System

AnalogPatternBuilder() public method

public AnalogPatternBuilder ( string channelNames, int patternLength ) : System
channelNames string
patternLength int
return System

BuildPattern() public method

public BuildPattern ( ) : ].double[
return ].double[

GetValue() public method

public GetValue ( string channel, int time ) : double
channel string
time int
return double

SwitchAllOffAtEndOfPattern() public method

public SwitchAllOffAtEndOfPattern ( ) : void
return void

SwitchOffAtEndOfPattern() public method

public SwitchOffAtEndOfPattern ( string channel ) : void
channel string
return void

Property Details

AnalogPatterns public_oe property

public Dictionary> AnalogPatterns
return Dictionary>

Pattern public_oe property

public double[,] Pattern
return ].double[

PatternLength public_oe property

public int PatternLength
return int