LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set ring index of an embedded ring in a table control

Solved!
Go to solution

Hello experts,

 

I have a table  with a ring control inside.

I fill this ring with values from a file before I display the user interface. Now the ring shows the first item inside, but I want to show another ring item.

I could not find any function which sets the index of an embedded ring control of a table.

How to do that?

 

Thanks in advance

 

Jan 

0 Kudos
Message 1 of 3
(3,344 Views)
Solution
Accepted by topic author der_bunte_Hund

Sorry, now I found the solution by myself:

 

it was very simple:  SetTableCellVal(...) with a value which matches an existing value in the ring's value list.

 

Thanks for that very helpful forum and all its experts.

 

Jan

 


@der_bunte_Hund wrote:

Hello experts,

 

I have a table  with a ring control inside.

I fill this ring with values from a file before I display the user interface. Now the ring shows the first item inside, but I want to show another ring item.

I could not find any function which sets the index of an embedded ring control of a table.

How to do that?

 

Thanks in advance

 

Jan 


Message 2 of 3
(3,342 Views)

By the way, if what you have initially is the index of the item that you want to set, rather than the text of the item, then you can use the SetTableCellValFromIndex function instead.

Message 3 of 3
(3,332 Views)