Hi Tyro,
you're asking about modifying / adding / removing from a ring control which is basically a list of label value pairs. The functions you need are in the User Interface Library -> Controls/Graphs/StripCharts -> List (Label/Value) Controls.
It's use could be something like :
int main (int argc, char *argv[])
{
static int panelHandle;
int i;
char strings[5][10] = {"One","Two","Three","Four","Five"};
if (InitCVIRTE (0, argv, 0) == 0)
return -1; /* out of memory */
if ((panelHandle = LoadPanel (0, "ring control.uir", PANEL)) < 0)
return -1;
DisplayPanel (panelHandle);
for (i=0;i<5;i++)
InsertListItem (panelHandle, PANEL_RING, -1, strings[i], i); RunUserInterface ();
DiscardPanel (panelHandle);
return 0;
}
Hope that helps
S.
// it takes almost no time to rate an answer