public Configure ( double clockFrequency, bool loop, bool fullWidth, bool lowGroup, int length, bool internalClock, bool triggered ) : void | ||
clockFrequency | double | |
loop | bool | |
fullWidth | bool | |
lowGroup | bool | |
length | int | |
internalClock | bool | |
triggered | bool | |
return | void |
public override void AcquisitionStarting() { // any plugin specific initialisation goes here DoAcquisitionStarting(); // get hold of the pattern generator pg = new DAQMxPatternGenerator((string)Environs.Hardware.GetInfo("PatternGeneratorBoard")); // build a flashlamp pattern flashlampPatternBuilder = new FlashlampPatternBuilder(); // configure the pattern generator patternLength = (int)settings["flashlampPulseInterval"] * (int)settings["sequenceLength"] * ((int)settings["padShots"] + 1); pg.Configure( (int)settings["clockFrequency"], true, (bool)settings["fullWidth"], (bool)settings["lowGroup"], patternLength, (bool)settings["internalClock"], (bool)settings["triggered"] ); loadFlashlampPattern(); }
public override void AcquisitionStarting() { scanPatternBuilder = new DualValvePatternBuilder(); // get hold of the pattern generator pg = new DAQMxPatternGenerator((string)Environs.Hardware.Boards["pg"]); // configure the pattern generator patternLength = (int)settings["sequenceInterval"] * (int)settings["sequenceLength"] * ((int)settings["padShots"] + 1); pg.Configure( (int)settings["clockFrequency"], true, (bool)settings["fullWidth"], (bool)settings["lowGroup"], patternLength, (bool)settings["internalClock"], false ); }