If in manual mode, there is an on or off switch to operate in manual. Consider an automatic shutdown if in manual and level reaches a certain level (safety level).
VI with an automated filling and emptying operation.
Random number generator for reading of concentrations and Ph.
Simulate signal express VI. Look at his example as well
The following is an example, is too good to look like my work, so it just a guide line