LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Case structure

I have wired the Stop button to a case strucure to send out a zero voltage to my DAQ card Whenever Stop button is pressed ( When the case is true), as for the False Part of the case structure i dont want to wire anything to the DAQ card and as you know this will give you an error, what should i do for the false part if i dont want it to take any action in my program? Thank you
 
0 Kudos
Message 1 of 6
(3,075 Views)
hi persol
                        see the attached vi...i hope this help u..........
------------------------------------------------------------------------------------------------------------------
Indrajit

| indrajitbarve@gmail.com | indar_indar2005@yahoo.co.in .
0 Kudos
Message 2 of 6
(3,068 Views)


persol wrote:
I have wired the Stop button to a case strucure to send out a zero voltage to my DAQ card Whenever Stop button is pressed ( When the case is true), as for the False Part of the case structure i dont want to wire anything to the DAQ card and as you know this will give you an error, what should i do for the false part if i dont want it to take any action in my program?

Your question is very confusing, maybe you can attach the code you have so far for illustration. You seem to colloquially mix diagram wires with physical wires (wiring to the DAQ card vs. wired to a stop button, for example) and nothing makes much sense. Why do you assume that I know that "this" will give an error? I don't! What kind of error? Why? What is "this"?
 
Typically, if you don't want to "take any action" (and I am not even sure what that means), you would leave the appropriate case empty.
0 Kudos
Message 3 of 6
(3,059 Views)
hi altenbach
                        my previous post with zero_voltage.vi is an illustration.  if any  thing wrong . plz ...feel free to tell me
------------------------------------------------------------------------------------------------------------------
Indrajit

| indrajitbarve@gmail.com | indar_indar2005@yahoo.co.in .
0 Kudos
Message 4 of 6
(3,050 Views)
hi

when you say 'this will give you an error', you mean 'case structure output tunnel will not be wired in the False case resulting in an error' ??

but what do you mean you dont want to wire anything to DAQ card? you dont want to generate any voltage? or what?

show atleast your B.D screenshot.

you have to wire any data to the case structure o/p tunnel. if you do not want to wire anything, what do you want to do??
you wish to let zero voltage continue on the DAQ channel? that sounds funny, though!Smiley Wink

details pleaseEE!!

0 Kudos
Message 5 of 6
(3,016 Views)
Thanks guys the problem has been solved
0 Kudos
Message 6 of 6
(2,984 Views)