/// <summary>
 ///     Constructor Agilent N5746A
 /// </summary>
 /// <param name="ipAddress">IP address of the device</param>
 /// <param name="ipPort">Device port</param>
 public N5746A(string ipAddress, int ipPort)
 {
     try
     {
         _deviceExchanger = new DeviceExchanger(ipAddress, ipPort);
     }
     catch (Exception n5746AException)
     {
         throw new N5746AException("Failed to initialize LAN exchange for power supply: " +
                                   n5746AException.Message + "\n");
     }
 }
 /// <summary>
 ///     Constructor R&S SMB100A
 /// </summary>
 /// <param name="ipAddress">IP address of the device</param>
 /// <param name="ipPort">Device port</param>
 public Smb100A(string ipAddress, int ipPort)
 {
     try
     {
         _deviceExchanger = new DeviceExchanger(ipAddress, ipPort);
     }
     catch (Exception smb100AException)
     {
         throw new Smb100AException("Failed to initialize LAN exchange for signal generator: " +
                                    smb100AException.Message);
     }
 }