Torna al Thread
try
{
hex = string.Concat(DO8, DO7, DO6, DO5, DO4, DO3, DO2, DO1);
ODhex = String.Format("{0:X2}", Convert.ToInt32(hex, 2));
}
catch { }
// protocollo scrittura
protscritt = string.Concat(">",indasc,"w","FF","00","00",ODhex,CheckSum(">" + indasc + "w" + "FF" + "00" + "00" + ODhex),"!");