Hi,
I am writing a program which sends commands and receives information from a Masterflex pump, which dispenses media to a cell culture. I need to have a trend which records the cumulative volume actually dispensed by the pump periodically and also plots the predicted trend of cumulative volume for the duration of a week that updates each day, given the current conditions of the culture and user inputs.
As shown in the attached graphic, actual volume is always being trended and is variant. However, notice that the trend for the predicted volume at day 1: it was plotted for the entire week given the conditions at the beginning of day 1 (in black), but as conditions changed, a new trend for predicted volume was plotted for the remainder of the week at the end of day 1/start of day 2 (in brown), and the outdated predicted trend is deleted. My question is, what would be the most effective graph set-up to fulfill my requirements?
I have also attached the graphing part of my program. I am currently using multiple plots with the "Build XY Graph" Express VI. I understand that graphs are usually plotted at once and charts may be updated as time passes. It seems that the express VI I am using also can behave like a chart. Any suggestions? Thanks!
Adam