Example #1
0
        private void initializeHardware(MOTMasterSequence sequence)
        {
            if (triggered == true)
            {
                pg.Configure(config.DigitalPatternClockFrequency, false, true, true, sequence.DigitalPattern.Pattern.Length, true, true);
            }
            else
            {
                pg.Configure(config.DigitalPatternClockFrequency, false, true, true, sequence.DigitalPattern.Pattern.Length, true, false);
            }

            apg.Configure(sequence.AnalogPattern, config.AnalogPatternClockFrequency, false);
        }
Example #2
0
 private void initializeHardware(MOTMasterSequence sequence)
 {
     pg.Configure(pgClockFrequency, false, true, true, sequence.DigitalPattern.Pattern.Length, true, false);
     apg.Configure(sequence.AnalogPattern, apgClockFrequency);
 }