06-09-2006 10:41 AM
06-10-2006 01:55 PM
Hello,
To read the value from a ring control, use the function GetCtrlVal (tab_panel, ring_control, &value), which is used to get the value of almost any control type.
I understand that you are using Tabs. If you use the new Tab Control from CVI8.0, you have to get a handle for the tab page before you can access a control on this tab page. To do so, use the function GetPanelHandleFromTabPage (panel, tab_control, tab_index, &tab_panel). Now you can use the returned value of tab_panel in the GetCtrlVal function.
Success,
Wim