protected override bool OpenDevice() { try { lock (locker) { IKeysightDeviceOptions deviceOptions = options as IKeysightDeviceOptions; session.Connect(deviceOptions.Address, deviceOptions.SessionType); SendBuffer("*RST"); return(true); } } catch (Exception exception) { throw CreateThrowUpException(exception); } }
public KeysightDevice(IKeysightDeviceOptions options, Action <object, IOptionsBase> onOptionsUpdate) : base(options, onOptionsUpdate) { OptionsUpdate += OnPortOptionsUpdate; }
public KeysightDevice(IKeysightDeviceOptions options) : this(options, null) { }