public NIDAQOutputStream(string name, string physicalName, PhysicalChannelTypes channelType,
                          NIDAQController controller)
     : base(name, controller)
 {
     PhysicalName = physicalName;
     PhysicalChannelType = channelType;
     DAQUnits = (PhysicalChannelType == PhysicalChannelTypes.DOPort ||
                 PhysicalChannelType == PhysicalChannelTypes.DOLine)
                    ? Measurement.UNITLESS
                    : "V";
     MeasurementConversionTarget = DAQUnits;
     Controller = controller;
     Clock = controller.Clock;
 }
 public NIDAQOutputStream(string physicalName, PhysicalChannelTypes channelType, NIDAQController controller)
     : this(physicalName, physicalName, channelType, controller)
 {
 }
 public IEnumerable<IDAQStream> StreamsOfType(PhysicalChannelTypes channelType)
 {
     return Streams.Cast<NIDAQStream>().Where(x => x.PhysicalChannelType == channelType);
 }