예제 #1
0
            public IviSwtchChannel(IDriverAdapterBase Adapter, int Index)
            {
                this.Adapter    = Adapter;
                IviSwtchInterop = (IviCInterop.IviSwtch)Adapter.Interop;
                this.Index      = Index;

                StringBuilder NameValue = new StringBuilder(256);

                Adapter.ViSessionStatusCheck(IviSwtchInterop.GetChannelName(Adapter.Session, Index, NameValue.Capacity, NameValue));
                ChannelName = NameValue.ToString();

                SwtchCharacteristics = new IviSwtchCharacteristics(Adapter, ChannelName);
            }
예제 #2
0
 public IviSwtchScan(IDriverAdapterBase Adapter)
 {
     this.Adapter    = Adapter;
     IviSwtchInterop = (IviCInterop.IviSwtch)Adapter.Interop;
 }