09-12-2013 04:03 AM
What is your meaning of cycle?
You simply need more detailed parsing that recognizes two numbers in the "for" statement. It could select between the two based on the iteration number of the outer loop or e.g. based on the output of the "first call?" function.
09-12-2013 04:45 AM
cycle means upon first execution and
with loop values our objective is suppose if am using any power supply in program and i want program ity for 5 different values then instead of writing it again and again inthe array we want to use Loop( 1,2,3,4,5) and then powersupply and then at the endEnd(Loop) or anyhting to detect termination, so that it should get programmed automatically.
if i am using it at the beginning it is running fine but again if i want to run in b/w the array or within the for loop, it is not ececuting well that's where i am getting problem
i want to know how i can use that loop in the logic givewn by you i added the case structure for loop i am not getting do i need to add separate case for implementing loop logic or i can do that within the given case structures only.
09-12-2013 11:13 AM
It is not clear what you loop statement is supposed to do. Can you tell us the exepcted output for the default input of your last code attachment.
09-12-2013 06:54 PM
Thanks altenbach for the reply,
attached is the image which shows the expected output.
09-12-2013 07:05 PM
(Please try to crop attached pictures to a reasonable size. Your contains tons of white space to the right and at the bottom.)
Sorry, it is still not clear. Why is the output of the loop 889988998899 instead of 898989?
09-12-2013 07:11 PM
(Please try to crop attached pictures to a reasonable size. Your contains tons of white space to the right and at the bottom.)
Sorry , next time i will take care of this.
Sorry, it is still not clear. Why is the output of the loop 889988998899 instead of 898989
because upon first execution it will program both the instruments to first value i.e 8 in this case that's why 8 8 the second value withinn loop is 9 then it will program to 9 9 after that since we have kept in for loop that's why same procedure will repeat for 3 times.