C# Class ScanMaster.Acquire.Patterns.GuidePatternBuilder

Pattern builder for the guide. The guide uses the two channels called decelhplus and decelhminus to drive the switches. At the beginning and end of the pulse sequence, both channels will be low. Both channels will have the same state at all times - any required inversions must be done later in the hardware. With the firing of the Q-switch being t=0, the channels first go high at 'delayToGuide'. They remain high for a time 'lensSwitchPeriod', then go low for a further 'lensSwitchPeriod' etc. You'll get 'numberOfLenses / 2' high-low cycles. The channels have to be in the same state at the end as at the start, so 'numberOfLenses' has to be even.
Inheritance: DAQ.Pattern.PatternBuilder32
Mostrar archivo Open project: ColdMatter/EDMSuite Class Usage Examples

Public Methods

Method Description
FlashlampPulse ( int startTime, int valveToQ, int flashToQ ) : int
Shot ( int startTime, int valvePulseLength, int valveToQ, int flashToQ, int delayToDetectorTrigger, string detectorTriggerSource, int delayToGuide, int lensSwitchPeriod, int numberOfLenses, int guideDcDuration, bool switchGuide ) : int
ShotSequence ( int startTime, int numberOfOnOffShots, int padShots, int flashlampPulseInterval, int valvePulseLength, int valveToQ, int flashToQ, int delayToDetectorTrigger, int delayToGuide, int lensSwitchPeriod, int numberOfLenses, int guideDcDuration, bool modulation ) : int

Method Details

FlashlampPulse() public method

public FlashlampPulse ( int startTime, int valveToQ, int flashToQ ) : int
startTime int
valveToQ int
flashToQ int
return int

Shot() public method

public Shot ( int startTime, int valvePulseLength, int valveToQ, int flashToQ, int delayToDetectorTrigger, string detectorTriggerSource, int delayToGuide, int lensSwitchPeriod, int numberOfLenses, int guideDcDuration, bool switchGuide ) : int
startTime int
valvePulseLength int
valveToQ int
flashToQ int
delayToDetectorTrigger int
detectorTriggerSource string
delayToGuide int
lensSwitchPeriod int
numberOfLenses int
guideDcDuration int
switchGuide bool
return int

ShotSequence() public method

public ShotSequence ( int startTime, int numberOfOnOffShots, int padShots, int flashlampPulseInterval, int valvePulseLength, int valveToQ, int flashToQ, int delayToDetectorTrigger, int delayToGuide, int lensSwitchPeriod, int numberOfLenses, int guideDcDuration, bool modulation ) : int
startTime int
numberOfOnOffShots int
padShots int
flashlampPulseInterval int
valvePulseLength int
valveToQ int
flashToQ int
delayToDetectorTrigger int
delayToGuide int
lensSwitchPeriod int
numberOfLenses int
guideDcDuration int
modulation bool
return int