I have a system where I am doing some lab sample tests with the help of Arduino-based hardware. I define tests (parameters) with the help of a C# based application and pass data through serial communication. Arduino, send the test results back to pc after the test through serial communication. One test information is 2 data. [test_id, test_duration]. Arduino sends back two pieces of information [test_id, result].
But I want to define new tests even one test is going on and put them in the queue. Ardunio should able to fetch new test data (serially) when the active test is over and sending the result back to pc.
Can Arduino handle this kind of continuous two-way serial communication?
How should I do it. ?