title: Parse comma-separated values in vb
body: <p>I am having arduino and getting data serially in comma-separated values. Now I want to segregate data and put into text box, my question How can parse data in Vb data displayed on text box for every 1s</p>
  
  <pre><code>int Count1;
  int Count2;
  int Count3;
  int Count4;
  int Count5;
  float Sensor_Out1;
  float Sensor_Out2;
  float Sensor_Out3;
  float Sensor_Out4;
  float Sensor_Out5;
  
  void TakeReading()
  {
    Count1 = analogRead(A1);
    Count2=analogRead(A2);
    Count3=analogRead(A3);
    Count4=analogRead(A4);
    Count5=analogRead(A5);
    Sensor_Out1= 0.0336666666667*Count1 - 17.10;
    Sensor_Out2= 0.0336666666667*Count2 - 17.10;
    Sensor_Out3= 0.0336666666667*Count3 - 17.10;
    Sensor_Out4 = 0.0336666666667*Count4 - 17.10;
    Sensor_Out5= 0.0336666666667*Count5 - 17.10;
  }
  
  void setup()
  {
    Serial.begin(9600);
  }
  
  void loop()
  {
    TakeReading();
    Serial.print(Sensor_Out1); 
    Serial.print(",");
    Serial.print(Sensor_Out2); 
    Serial.print(",");
    Serial.print(Sensor_Out3); 
    Serial.print(",");
    Serial.print(Sensor_Out4); 
    Serial.print(",");
    Serial.println(Sensor_Out5);
    delay(1000); 
  
  }
  </code></pre>