Example #1
0
 /// <summary>
 /// Constructs a new connection wrapping the given connection object.
 /// </summary>
 /// <param name="usbConn">The USB connection to use.</param>
 protected BaseDaqUsbConnection(PicHidUsbConnection usbConn)
 {
     UsbConn = usbConn;
     if(null == UsbConn) {
         throw new ArgumentNullException("usbConn");
     }
 }
Example #2
0
 /// <summary>
 /// Constructs a new connection wrapping the given connection object.
 /// </summary>
 /// <param name="usbConn">The USB connection to use.</param>
 protected BaseDaqUsbConnection(PicHidUsbConnection usbConn)
 {
     UsbConn = usbConn;
     if (null == UsbConn)
     {
         throw new ArgumentNullException("usbConn");
     }
 }