11-29-2023 08:01 AM
Hi,
please, how can i combine the two graphs into one graph with the While loop so that i can see the measurements live?
11-29-2023 09:26 AM
It's very hard to help with just a picture of you VI, but it looks like you are using the same instrument in two separate loops and you re-configure that instrument between them. In that case, you can't see both measurements in real-time any more than you could race a single car against itself. If you have independent hardware, then you can just put both measurements in the same loop and run them in parallel.
If you need more help, you need to provide a more detailed explanation of your hardware setup and post your actual VI...
11-29-2023 09:26 AM
There are no graphs, just charts (big difference!). As a first step, attach your VI. We cannot debug truncated pictures.
Why is there so much duplicate code? Why isn't this a simple state machine where you keep the 2D data in a shift register, replace NaN with valid data as it arrives, and graph all whenever updated?.
11-29-2023 10:09 AM
I actually want to charge a Battery, that is to say have the CC and CV curve in the same graph. first of all I did it separately and now I want to group the two measurements in a graph so that I can see the measurement live.