asking data from external device with selected delay using C#
<pre><code>private void timer1_Tick(object sender, EventArgs e)
{        
   string[] DF_Engines = { Form2.Engine1, Form2.Engine2, Form2.Engine3, Form2.Engine4, Form2.Engine5, Form2.Engine6 };
   foreach (string DF_Engine in DF_Engines)
   {
       if (Convert.ToDouble(DF_Engine) != 99)
       {
           string Hex_ADD1 = "{" + DF_Engine + "|";
           Console.WriteLine(Hex_ADD1);
           serialPort1.Write(Hex_ADD1);
           n = Convert.ToInt16(DF_Engine);               
        }
    }
}
</code></pre>

<p><code>Form2.Engine1</code>, <code>Form2.Engine2</code>....... are the values come from <code>Form2</code> when the corresponding checkbox is selected. these would be 1, 2 , 3 so on....
My code send 01 when checkbox1 is selected but it send 01,02 without any delay when checkbox1 and checkbox2 are selected in Form2.
I need delay when asking 01 and 02 and so on as per my interest.
how could i do it convineintly
and when i use <code>Thread.Sleep(500)</code>, the application gets slow.
need guidance.</p>
