Hi!<br>I've created this simple program in matlab and using it with type155 in Calling Mode 0<br>---------------------------------<br>if trnTime==0<br>    t=1;<br>end<br><br>trnOutputs(1) = t;<br>t=t+1;<br><br>if t>24<br>
    t=1;<br>end   <br><br>mFileErrorCode = 0;<br>return<br>--------------------------------------<br><span id="result_box" class="" lang="en"><span class="hps">The program</span> <span class="hps">should</span> <span class="hps">count from 1</span> <span class="hps">to 24</span><span>,</span> <span class="hps">but instead of</span> <span class="hps">1,2,3</span>,4......he does <span class="hps">1,2,4,6</span> <span class="hps">........<br>
How can i solve this problem using Calling Mode 0 in Type155?<br><br>Thanks for your answer!<br><br>Marco<br></span><span></span></span><br><br>