11-08-2012 01:55 AM - edited 11-08-2012 02:04 AM
hello,
I am tring to convert my main test vi in case structure so latter on i can make some changes in that for example i want creat one pause button and reset button in that.
I am not so much familer with case structure i want your guidence that how can i make my vi in globle case stucture in that i m having case 1 ,case 2...
i already tried for that but then i got confused.
here i am attaching my .llb file in that aa.vi is my main testing vi.
will you plese guide me so i can make confort vi in case structure.
Or can it possible to have one pause button and one reset button in same stucture,so User can pause or reset execution at any time when they want.
Thank you very much in advance.
11-08-2012 02:08 AM
Your attached llb contains dozens of VIs (3+MB worth). At least tell us the toplevel VI you are talking about.
Maybe by looking that the diagram you question makes more sense, because whatever you wrote above does not.
11-08-2012 02:14 AM
OK, looking at aa.vi .... Still makes no sense!
11-08-2012 02:15 AM
May be this one could be helpfull.
11-08-2012 02:17 AM
i want to make one pause button and one reset button in that,can it possible in this structure.
11-08-2012 03:07 AM
As a first step I would recommend to re-architect the entire program into a state machine. This way it will also fit on one monitor screen.
11-08-2012 03:31 AM
Thanks for reply.
thats also make me confuse that how can i start to make state machine,i tried to make that but in this case my state are not be continuous can you please tell me that where suppose i have to change to pass signal from one state to another,
here in attachment i tried with my first two case(power supply on,data logger on) structure to make that in state machine but i am able to chack only power supply then my signal go forward with out checking case 2.
thank you very much in advance.
11-08-2012 08:18 AM
Hello,
I have change my entire structure ,now is it possible to have pause and reset button.
here i have attached my changed vi.
if still any changes required then please suggest me.
Thank you.