public void OpenBySerialNum(string s) {//Get the SerialNum of the specified device// Not tested lambdaUSB.OpenBySerialNum(s); lambdaUSB.SetBaudrate(baudRate); setMode("USB"); //MessageBox.Show("Case USB"); if (lambdaUSB.IsOpen() == false) { MessageBox.Show("USB Failed to open"); } return; }