示例#1
0
 public IviDmmTemperature(IDriverAdapterBase Adapter)
 {
     this.Adapter    = Adapter;
     DmmRtd          = new IviDmmRtd(Adapter);
     DmmThermistor   = new IviDmmThermistor(Adapter);
     DmmThermocouple = new IviDmmThermocouple(Adapter);
 }
 public IviDownconverterFrequencySweep(IDriverAdapterBase Adapter)
 {
     this.Adapter                      = Adapter;
     IviDownconverterInterop           = (IviCInterop.IviDownconverter)Adapter.Interop;
     DownconverterFrequencySweepAnalog = new IviDownconverterFrequencySweepAnalog(Adapter);
     DownconverterFrequencyStep        = new IviDownconverterFrequencyStep(Adapter);
     DownconverterFrequencySweepList   = new IviDownconverterFrequencySweepList(Adapter);
 }
            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 IviSwtchChannelCollection(IDriverAdapterBase Adapter)
            {
                this.Adapter = Adapter;
                int ChannelCount = Adapter.GetAttributeViInt32(IviSwtchAttribute.IVISWTCH_ATTR_CHANNEL_COUNT);

                Channels     = new List <IIviSwtchChannel>();
                ChannelNames = new List <string>();
                for (int Index = 1; Index <= ChannelCount; Index++)
                {
                    IIviSwtchChannel Channel = new IviSwtchChannel(Adapter, Index);
                    Channels.Add(Channel);
                    ChannelNames.Add(Channel.Name);
                }
            }
            public IviDCPwrOutputCollection(IDriverAdapterBase Adapter)
            {
                this.Adapter = Adapter;
                int OutputCount = Adapter.GetAttributeViInt32(IviDCPwrAttribute.IVIDCPWR_ATTR_CHANNEL_COUNT);

                Outputs     = new List <IIviDCPwrOutput>();
                OutputNames = new List <string>();
                for (int Index = 1; Index <= OutputCount; Index++)
                {
                    IIviDCPwrOutput Output = new IviDCPwrOutput(Adapter, Index);
                    Outputs.Add(Output);
                    OutputNames.Add(Output.Name);
                }
            }
            public IviPwrMeterChannelCollection(IDriverAdapterBase Adapter)
            {
                this.Adapter       = Adapter;
                IviPwrMeterInterop = (IviCInterop.IviPwrMeter)Adapter.Interop;
                int ChannelCount = Adapter.GetAttributeViInt32(IviPwrMeterAttribute.IVIPWRMETER_ATTR_CHANNEL_COUNT);

                Channels     = new List <IIviPwrMeterChannel>();
                ChannelNames = new List <string>();
                for (int Index = 1; Index <= ChannelCount; Index++)
                {
                    IIviPwrMeterChannel Channel = new IviPwrMeterChannel(Adapter, Index);
                    Channels.Add(Channel);
                    ChannelNames.Add(Channel.Name);
                }
            }
            public IviDCPwrOutput(IDriverAdapterBase Adapter, int Index)
            {
                this.Adapter    = Adapter;
                IviDCPwrInterop = (IviCInterop.IviDCPwr)Adapter.Interop;
                this.Index      = Index;

                try
                {
                    StringBuilder NameValue = new StringBuilder(256);
                    Adapter.ViSessionStatusCheck(IviDCPwrInterop.GetChannelName(Adapter.Session, Index, NameValue.Capacity, NameValue));
                    ChannelName = NameValue.ToString();
                }
                catch
                {
                    ChannelName = string.Empty;
                }
            }
            public IviPwrMeterChannel(IDriverAdapterBase Adapter, int Index)
            {
                this.Adapter       = Adapter;
                IviPwrMeterInterop = (IviCInterop.IviPwrMeter)Adapter.Interop;
                this.Index         = Index;

                try
                {
                    StringBuilder NameValue = new StringBuilder(256);
                    Adapter.ViSessionStatusCheck(IviPwrMeterInterop.GetChannelName(Adapter.Session, Index, NameValue.Capacity, NameValue));
                    ChannelName = NameValue.ToString();
                }
                catch
                {
                    ChannelName = string.Empty;
                }

                PwrMeterAveraging           = new IviPwrMeterAveraging(Adapter, ChannelName);
                PwrMeterDutyCycleCorrection = new IviPwrMeterDutyCycleCorrection(Adapter, ChannelName);
                PwrMeterRange = new IviPwrMeterRange(Adapter, ChannelName);
            }
 public IviDCPwrTrigger(IDriverAdapterBase Adapter)
 {
     this.Adapter    = Adapter;
     IviDCPwrInterop = (IviCInterop.IviDCPwr)Adapter.Interop;
 }
示例#10
0
 public DriverUtility(IDriverAdapterBase Adapter)
 {
     this.Adapter = Adapter;
 }
示例#11
0
 public IviDriverLock(IDriverAdapterBase Adapter)
 {
     this.Adapter = Adapter;
     Adapter.ViSessionStatusCheck(Adapter.Interop.LockSession(Adapter.Session, ref HasLock));
 }
示例#12
0
 public DriverOperation(IDriverAdapterBase Adapter)
 {
     this.Adapter = Adapter;
 }
示例#13
0
 public IviDriverLock(IDriverAdapterBase Adapter)
 {
     this.Adapter = Adapter;
     Adapter.ViSessionStatusCheck(Adapter.Interop.LockSession(Adapter.Session, ref HasLock));
 }
示例#14
0
 public IviDmmMultiPoint(IDriverAdapterBase Adapter)
 {
     this.Adapter  = Adapter;
     IviDmmInterop = (IviCInterop.IviDmm)Adapter.Interop;
 }
示例#15
0
 public IviDmmThermocouple(IDriverAdapterBase Adapter)
 {
     this.Adapter  = Adapter;
     IviDmmInterop = (IviCInterop.IviDmm)Adapter.Interop;
 }
示例#16
0
 public IviDmmFrequency(IDriverAdapterBase Adapter)
 {
     this.Adapter = Adapter;
 }
 public IviPwrMeterInternalTrigger(IDriverAdapterBase Adapter)
 {
     this.Adapter       = Adapter;
     IviPwrMeterInterop = (IviCInterop.IviPwrMeter)Adapter.Interop;
 }
 public IviPwrMeterMeasurement(IDriverAdapterBase Adapter)
 {
     this.Adapter       = Adapter;
     IviPwrMeterInterop = (IviCInterop.IviPwrMeter)Adapter.Interop;
 }
 public IviPwrMeterRange(IDriverAdapterBase Adapter, string ChannelName)
 {
     this.Adapter       = Adapter;
     IviPwrMeterInterop = (IviCInterop.IviPwrMeter)Adapter.Interop;
     this.ChannelName   = ChannelName;
 }
 public IviPwrMeterDutyCycleCorrection(IDriverAdapterBase Adapter, string ChannelName)
 {
     this.Adapter       = Adapter;
     IviPwrMeterInterop = (IviCInterop.IviPwrMeter)Adapter.Interop;
     this.ChannelName   = ChannelName;
 }
示例#21
0
 public IviDmmAdvanced(IDriverAdapterBase Adapter)
 {
     this.Adapter = Adapter;
 }
 public IviDownconverterCalibration(IDriverAdapterBase Adapter)
 {
     this.Adapter            = Adapter;
     IviDownconverterInterop = (IviCInterop.IviDownconverter)Adapter.Interop;
 }
示例#23
0
 public IviDmmMeasurement(IDriverAdapterBase Adapter)
 {
     this.Adapter  = Adapter;
     IviDmmInterop = (IviCInterop.IviDmm)Adapter.Interop;
 }
 public IviDownconverterExternalMixerBias(IDriverAdapterBase Adapter)
 {
     this.Adapter            = Adapter;
     IviDownconverterInterop = (IviCInterop.IviDownconverter)Adapter.Interop;
 }
示例#25
0
 public IviDmmThermistor(IDriverAdapterBase Adapter)
 {
     this.Adapter = Adapter;
 }
 public IviDownconverterIFOutput(IDriverAdapterBase Adapter)
 {
     this.Adapter            = Adapter;
     IviDownconverterInterop = (IviCInterop.IviDownconverter)Adapter.Interop;
 }
示例#27
0
 public IviDmmTrigger(IDriverAdapterBase Adapter)
 {
     this.Adapter  = Adapter;
     IviDmmInterop = (IviCInterop.IviDmm)Adapter.Interop;
     DmmMultiPoint = new IviDmmMultiPoint(Adapter);
 }
 public IviDownconverterRFInput(IDriverAdapterBase Adapter)
 {
     this.Adapter                = Adapter;
     IviDownconverterInterop     = (IviCInterop.IviDownconverter)Adapter.Interop;
     DownconverterFrequencySweep = new IviDownconverterFrequencySweep(Adapter);
 }
示例#29
0
 public DriverUtility(IDriverAdapterBase Adapter)
 {
     this.Adapter = Adapter;
 }
 public IviDownconverterFrequencySweepList(IDriverAdapterBase Adapter)
 {
     this.Adapter            = Adapter;
     IviDownconverterInterop = (IviCInterop.IviDownconverter)Adapter.Interop;
 }
示例#31
0
 public DriverIdentity(IDriverAdapterBase Adapter, string TargetSoftwareModuleName)
 {
     this.Adapter = Adapter;
     this.TargetSoftwareModuleName = TargetSoftwareModuleName;
 }
 public IviDownconverterReferenceOscillator(IDriverAdapterBase Adapter)
 {
     this.Adapter            = Adapter;
     IviDownconverterInterop = (IviCInterop.IviDownconverter)Adapter.Interop;
 }
示例#33
0
 public DriverIdentity(IDriverAdapterBase Adapter, string TargetSoftwareModuleName)
 {
     this.Adapter = Adapter;
     this.TargetSoftwareModuleName = TargetSoftwareModuleName;
 }
示例#34
0
 public DriverOperation(IDriverAdapterBase Adapter)
 {
     this.Adapter = Adapter;
 }