LabWindows/CVI User Group Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

"Edit Label/Value Pairs"

Does anyone know how to get a list of lables and values from a ring control?

I use a ring control to select indivdual tests for diagnostic and would like to get a printout  rather than hand generating a list for documentation.

It would be nice if there was a print button on the panel that prints the list out.

Thanks.

0 Kudos
Message 1 of 3
(4,677 Views)

Paul

I am using the following functions:

   GetCtrlVal(nPanelHandle, PANEL_RING_SEQUENCE, &nTestMode);
   GetLabelFromIndex(nPanelHandle,PANEL_RING_SEQUENCE,nTestMode,sTestMode);

Based on the "nTestMode" value, I can get the Label associated with the value the user selected.

Regards

John

0 Kudos
Message 2 of 3
(3,285 Views)

John,

Thanks,

I use these functions inside my code.  I was more looking for a way to get the information so that I can document my test in a Word  doc.

I probably should just write a function that outputs the data to a text file.

Paul

0 Kudos
Message 3 of 3
(3,285 Views)