DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

radiobutton

Solved!
Go to solution

Hy to all,

 

I have a short question regarding the RadioButton.

How can I call a radiobutton from another dlg.

 

I have in a SUD file, 2 Dlg and  2 radiobutton commands, 1 radiobutton on a Dlg and another radiobutton on another Dlg, and I want to use inside to a normal button an IF command, command that depends on the state of an radiobutton from other Dlg.

 

For example:

 If Radiobutton1.Value = 2  And Radiobutton2.Value= 1 Then
 Call ---------------------------
 End If

 

It is possible?

 

Thank you for your time,

 

Marius

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

Hi Marse,

 

You're going to need to assign a global variable to that radio button control, then you'll be able to access the global variable from the other dialog.  I checked with R&D, and they said that's the only way.

 

Brad Turpin
DIAdem Product Support Engineer
National Instruments

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