private void Hioki3540_DataReceived(object sender, System.IO.Ports.SerialDataReceivedEventArgs e) { string str = Hioki3540.ReadLine(); if (Resistance.InvokeRequired) { Resistance.BeginInvoke(new Action(() => { Resistance.Text = str; })); } }
private void BTN_AutoOff_Click(object sender, EventArgs e) { Hioki3540.Write(hioki.AutoOff()); }