i have researched for 3 days .
it says first time baud is 300 then if you want choose another speed anyway
private void button2_Click(object sender, EventArgs e)
{
serialPort1.Close();
serialPort1.BaudRate = 300;
serialPort1.PortName = "COM2";
serialPort1.Parity = Parity.Even;
serialPort1.StopBits = StopBits.One;
serialPort1.DataBits = 7;
serialPort1.Open();
serialPort1.Write("/?!" + (char)13 + (char)10);
Thread.Sleep(200);
serialPort1.Write((char)6 + "050" + (char)13 + (char)10);
Thread.Sleep(200);
serialPort1.Close();
serialPort1.BaudRate = 9600;
serialPort1.Open();
serialPort1.DtrEnable = true;
serialPort1.Write((char)1 + "R2" + (char)2 + "0.0.0"+"()" + (char)3 + "P");
string a = serialPort1.ReadLine();
listBox1.Items.Add(a);
}
i did this but i didnt try because of i havent device yet. maybe i need to convert to ascii or sometinng like utf-16 32 im not sure. i will report here when i try =)