06-03-2009 09:28 PM
hi,
i am writing a vi, which has event structure inside that a
case structure.
i problem is , i have two cases,
1) when the value is true it executes the true case, first it reads the string constant and second is the string indicator which is my out put.
2) in the false case it does pritty much same.
i want to display the inputs and out puts of different cases into the same text box that is one for input and one for output.
Can some one help me.
Solved! Go to Solution.
06-03-2009 09:47 PM
can you post your code?
06-03-2009 09:48 PM
hi sandy,
Can you post your VI so that we will get clear idea about what you want to print?
Gaurav k
06-03-2009 10:16 PM
i have attached the vi.
06-03-2009 10:33 PM - edited 06-03-2009 10:34 PM
Yes. Put the indicators outside of the case structures. Wire across the borders of the case structure. It creates "tunnels".
This is very basic LabVIEW. I would recommend you learn more about LabVIEW from here. How to Learn LV
(You might want to put the Input1 control inside the while loop. As it is now, it is only read at the very beginning of the program. Any changes to it won't be seen by any other code.)
06-03-2009 10:42 PM
here is an image of what I have done all the cases are the same but I also added an event for the stop button hope this helps
06-03-2009 11:06 PM
06-04-2009 01:08 AM
Did u tried as Ravans suggested.
I am not getting
Try this VI.
06-04-2009 05:07 PM
hi balaji,
thank you for ur reply. but problem is not solved.
i have added one moer event to my vi, where i want to displat all the "instructions " and "results" into two outputs.if i select "add" it should display "instruction and result" and if i select "sub"it should display "instruction and result " into the same place , where i have displayed the "instruction and results of "add".
06-04-2009 05:09 PM