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); }
public IviSwtchScan(IDriverAdapterBase Adapter) { this.Adapter = Adapter; IviSwtchInterop = (IviCInterop.IviSwtch)Adapter.Interop; }