/// <summary> /// Connect to a device using a known COM port. /// </summary> /// <param name="portName"></param> void Open(string portName) { // Try to open specified device serialPort = new SerialPortBuffered(portName); serialPort.Open(); scpiProtocol = new SimpleSCPIProtocol(serialPort); }
public ActiveLoadDevice(SerialPortBuffered serialPort) : this() { this.serialPort = serialPort; }