Solution
This issue is caused by using the
panel handle for the program window which houses the front panel object when executing a callback or editing a property instead of the panel handle for the Tab control page. Tab controls in LabWindows/CVI have unique handles for each tab page present in the tab control. In order to interact with objects contained in a tab page of a tab control, you need to get and use that tab page's panel handle in callbacks and functions that refer to those objects, such as
SetCtrlAttribute() .
The panel handle for a tab page in a tab control can be obtained using the
GetPanelHandlefromTabPage() function. This tab page panel handle can then be used to appropriately refer to front panel objects housed in a tab control in your program.