LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

GetCtrlAttribute

Solved!
Go to solution

Hi all,

i need to use the function GetCtrlAttribute to see if a radio button is diammed or not.

i don't see what i have to put as the forth argument: GetCtrlAttribute (panel, PANEL_text_in_situ, ATTR_DIMMED, ?)

best regards 

0 Kudos
Message 1 of 2
(3,394 Views)
Solution
Accepted by topic author FibiIA

Hi,

 

CVI does provide both a help and a variety of sample programs which are highly recommended Smiley Wink

 

In your particular case, the dimmed attribute is of type integer, so you should use

 

int is_dimmed = 0;

 

GetCtrlAttribute ( panel, PANEL_text_in_situ, ATTR_DIMMED, &is_dimmed );

Message 2 of 2
(3,391 Views)