One possibility to obtain this behaviour is to use a timer control and put the code for acquiring PH in the timer callback.
In order to use it I suggest you to do the following:
1. Set the timer interval for the acquisition pacing you want (once-per-second, once-per-minute...)
2. Set it as disabled in the UIR editor
3. In the 'Acquire' button enable the timer: from this moment on, the timer callback will be called at regular intervals. In case, in the same callback enable the 'Stop' button if present and disabled, or change the label of the button to 'Stop'
4. To stop the timer, simply disable it in the 'Stop' button callback
There remain a few conditions in which the timer callback is not executed: a time-consuming function in your program that
causes the timer to miss some call, or operator actions that halt the program (like clicking and maintaining pressed the mouse button on a panel title bar, or causing a long time out for example on a network or disk access...).
The first condition should be easy to detect while developing the program and can solved for example calling ProcesSystemEvents () several times inside the long-lasting function.
The second condition is more difficult to deal with (but fortunately there are very rare events): if this can cause a problem to you, you should consider moving to an asyncronous timer, but since you are a new user I suggest you not to try it until your program is fully developed and tested and you are more familiar with CVI.
Hope this all helps you a little.
Roberto