public IviSwtchAdapter(string name, bool idQuery, bool reset, string options)
     : base(name, idQuery, reset, options)
 {
     SwtchChannelCollection = new IviSwtchChannelCollection(this);
     SwtchPath = new IviSwtchPath(this);
     SwtchScan = new IviSwtchScan(this);
 }
Example #2
0
        public void Scan()
        {
            IIviSwtchScan Scan = Swtch.Scan;

            Assert.IsNotNull(Scan);

            string ScanList = "00C->00NC & 01C->01NC & 02C->02NC";

            Scan.ConfigureList(ScanList, ScanMode.BreakAfterMake);

            Assert.AreEqual(ScanList, Scan.List);
            Assert.AreEqual(ScanMode.BreakAfterMake, Scan.Mode);
        }