protected void WriteList(ref object data, IEEEASCIIType type = IEEEASCIIType.ASCIIType_Any, string listSeparator = ",;", bool flushAndEND = true) { if (DriverIsReady) { try { _driver.WriteList(ref data, type, listSeparator, flushAndEND); } catch (Exception ex) { Close(); throw ex; } } else { throw new System.InvalidOperationException("Cannot execute WriteList(...). Driver not initialized or is closed."); } }