LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

passing value change from time out

Solved!
Go to solution

hi,

 

need help....

 

i have a radio button wic change arrouding to the text in the timeout.

 

if the text is 0= the radio button value will b = 1

 

if the text is 5= the radio button value will b = 2

 

and so on...

 

in this condition ..let say for my each time out i need to check the text..and if the value is 0/5

 

i need to call the " Radio Button :Value Change" event..

 

how to do tis pls help. thk u

0 Kudos
Message 1 of 6
(3,373 Views)

Hi Jeyanthi,

 

You can just use the value (signaling) property of radio control. When your condition occurs, pass the data to this property. If you have an event case already created for radio control, this event will trigger according to your need.

 

Best practice is to have an value change event for your string controls, (do not use timeout) call the part of the code(from redio button value change event) in the string value event case. This will isolate you from design conflicts.

Message Edited by Vsh on 11-09-2009 01:02 AM
Message 2 of 6
(3,368 Views)
Solution
Accepted by topic author jeyanthi

hi Vsh,

 

Thanks for the help, it works.

 

but  cant understand tis part..

 

"Best practice is to have an value change event for your string controls, (do not use timeout) call the part of the code(from redio button value change event) in the string value event case. This will isolate you from design conflicts."

 

can u explain me more..plz.....i also eager to knw either than using time out..mostly it cause so much of conflict..

 

 

 

 

0 Kudos
Message 3 of 6
(3,363 Views)

Hi Jeyanthi,

 

Assuming that the string data is pulled out from a user interface, and is labeled as STRING.

 Add value change event to the STRING. 

Check your 0/5 condition in new event case

Now, Instead of calling the value (signalling) property, create a sub VI of the code which executes in value change event of Radio control

call the same sub VI in STRING value change event.

 

its just to delete the code from timeout event.

 

 Also if the problem is solved, just mark the answer as solved. :smileywink::smileyhappy:

Message Edited by Vsh on 11-09-2009 01:28 AM
Message 4 of 6
(3,360 Views)

Again!!!

Why do people mark solution to their own replies  :smileymad::smileymad:

0 Kudos
Message 5 of 6
(3,346 Views)

Jeyanthi,

 

You can unmark the solution from the "options" (Right top) of the thread and mark vsh's reply as the solution. 

Message 6 of 6
(3,318 Views)