LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem With Event and Case Structure

Solved!
Go to solution

Hi to all,

             I am getting the problem in my program i am using the two structure one is the even and other is the case structure.

             In the case structure i had taken the button as an input to the case structure and LEB as an output to the case stucture.

             And in the even i had then the two text box(num control A and B)in that i had put the value change event.Then even i put the value in A 

             num control or B num Control the value of that corrosponding num control will save in num indicator C. Now the problem is when i click

             the button theLEB is not blinking until or unless you donot put the value of any of the corrosponding num control.i had post my file in 8.5 and 8.6 version please find tha.Smiley Wink

 

 

Download All
0 Kudos
Message 1 of 10
(3,620 Views)

HI

I think you just missed the timeout terminal of event, connect any value to timeout terminal your problem is resolved.

Hope this helps

Regards

Santosh

0 Kudos
Message 2 of 10
(3,618 Views)

Hi santosh,

                   Thanks for the quick reply but i had put the delay even then the problem had not solve.Smiley Mad

0 Kudos
Message 3 of 10
(3,616 Views)

You have not added the timeout case in event structure, add event case as This Application - Timeout and put the timeout as 0/100 ms.

No need to put the delay

0 Kudos
Message 4 of 10
(3,613 Views)

HI santosh.

                  I  had done the same as you say but the problem had not solve will you please send me the tested VI.

0 Kudos
Message 5 of 10
(3,607 Views)

HI

Please find attached snapshot.

If still your problem is not resolved, so please clarify your requirement in the detail so I can do anything.

Regards

Santosh

0 Kudos
Message 6 of 10
(3,600 Views)
Solution
Accepted by topic author luthra_arun

Hi,

 

It should work like this or I misunderstood what you want to do.

 

If boolean is true , boolean 2 is true, in same time you can change value of A so C or B so C.

 

See attachment

Greg S.
CNRS
LV 7.1 8.2 8.6 2009 2011 2012 2013 2014
LPMC - CNRS
N'oubliez pas de complimenter cela fait toujours plaisir.
0 Kudos
Message 7 of 10
(3,593 Views)

What is the case structure supposed to be doing? As it is there is no reason for it to exist: create one more value change event for the boolean input and inside it set the boolean indicator to be equal to the boolean control.

 

In asking him to post his working code, why don't you post your try at implementing his suggestion. You'll learn more that way.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 8 of 10
(3,592 Views)

Hi mikeporter,

                     Thanks for the suggestion in future i will keep in my mind but before put the post i had do all the R&D then after that i put the post.

0 Kudos
Message 9 of 10
(3,562 Views)
Thanks santosh for the help.
0 Kudos
Message 10 of 10
(3,561 Views)