        <span class="keyword">if</span> fileno==1
0097                 DataLength=length(Data);
0098             <span class="keyword">end</span>
0099             clear Data
0100             
0101             Data=Ryx;
0102             <span class="keyword">if</span> RefChannel(1) == 0
0103                 Header.FunctionType=7;
0104             <span class="keyword">else</span>
0105                 <span class="keyword">if</span> RefHeader.Dof==Header.Dof
0106                     Header.FunctionType=7;
010