LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get the selection index from a ring control embedded in a table

Greetings,

 

I have LabWindows/CVI v8.5. In my data entry table some cells contain a ring control. How do I retrieve the index of the ring control selection? I need that to determine the course of further processing. I've had no success so far searching help and NI community fora (sorry, forums).

 

Best regards,

 

Charles E. Gray

 

 

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

Hi Charles,

 

You can use GetTableCellVal and GetTableCellRingIndexFromValue (in that order) to get the index.

First one gives you the current selected value, the other gives you its index.

 

Hope this helps, 

S. Eren BALCI
IMESTEK
0 Kudos
Message 2 of 4
(3,862 Views)

Eren,

 

teşekkür ederim!

 

It worked! I still have some issues (it takes two clicks to do what I want to do with one click), but I will need some time to pin down exactly what the problem is.

 

Thanks again for the prompt response.

 

Best regards,

 

Charlie

 

 

0 Kudos
Message 3 of 4
(3,851 Views)

Rica ederim 😉

 

In case you decide to explain the issue in your next post, I'll be happy to help you further with your problem if I can.

 

I could not quite understand what takes to clicks, instead of one.

 

Have a nice day, 

S. Eren BALCI
IMESTEK
0 Kudos
Message 4 of 4
(3,834 Views)