This problem arise due to incorrect panel handle in your SetCtrlVal functions.
When loading the child panels, the example explicitly discards the handles for the panels:
EasyTab_LoadPanels (panel, tabCtrl, 1, "simpdemo.uir", __CVIUserHInst, CONTROL, 0,
VALVES, 0, MONITOR, 0, CONFIG, 0, HELP, 0, 0);
I quote from the help on "Panel IDs and Handle Pointers" in EasyTab_LoadPanels function:
"A zero-terminated list of argument pairs, one pair for each panel to load into the tab control. Each pair consists of a
panel resource ID and a pointer to an integer in which to store the panel handle.
The resource IDs and integer pointers are listed in pairs, with the resource ID preceding the integer pointer.
If you do not need the panelHandle for a particular panel, you may pass 0 instead of the integer pointer."
That is, to manipulate controls located on the tabbed panels you must retrieve panel handles when loading the panels into the tab control and use those handles in subsequent functions. Otherwise you are trying to manipulate controls located on the main panels which holds the tab control.
Your code needs then to be modified as follows:
// When loading the panels
EasyTab_LoadPanels (panel, tabCtrl, 1, "simpdemo.uir", __CVIUserHInst, CONTROL, &ctrlH,
VALVES, &vlvH, MONITOR, 0, CONFIG, 0, HELP, 0, 0);
// When using controls on the panels:
GetCtrlVal (ctrlH, CONTROL_PROCESS_STATE, &prb1);
GetCtrlVal (vlvH, VALVES_INTAKE1 , &prb2);
sprintf(prba1, "%d", prb1);
sprintf(prba2, "%d", prb2);
SetCtrlVal (ctrlH, CONTROL_STRING, prba1);
SetCtrlVal (ctrlH, CONTROL_STRING_2, prba2);