03-14-2021 10:55 PM
Hello everyone!
I would like to ask about how to create a SoC program in realtime. My SoC calculation uses the formula I have attached above using coloumb counting. From the calculation how it works is the result of the first calculation SoC(t) will be the input value of SoC(t0) in the second calculation, so on until the last calculation. Then the "I" symbol there is for the current result that reads on the current sensor. So the whole way my program works is when labVIEW that has connected hardware then in run then the current sensor will be read and the current result will automatically enter the SoC program to perform calculations so as to generate a percentage charge. Can anyone help me? I've tried to create a program from the formula like an attached file, but the calculation results are not realtime yet. He'll count as many N's as we want. N here I mean the number of looping. Whereas the new SoC result should appear when the current value appears (I set every 10 seconds). Anyone who can help me, thank you very much.
Solved! Go to Solution.
03-15-2021 12:19 AM
Sorry, I am posting by phone and cannot really look at the problem at the moment, but please attach your vi instead of a picture.
You are using a formula node, not mathscript. I doubt you need any script nodes.
If you had a typo, the vi would be broken. Maybe you have a logical error instead. Once we have the VI, we can probably help.
03-15-2021 02:47 AM - edited 03-15-2021 02:47 AM