<?xml version="1.0"?>
<ObservationBlock
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="schema/ObservationBlock.xsd"
    OBID="TestID"
    ProgramID="TestProgID"
    PIName="El Condor"
    PIID="TestPIID">
 <Template>
    <TPLID>SHARKNIR_gen_tiptilt_init</TPLID>
    <TPLName>Test tiptilt initialization</TPLName>
    <TipTiltCtrlSetup>

      <TTM2CFILE>20220603-Zernike-FullPupil-Arcetri-1u-rms-4rtc.dat</TTM2CFILE>
      <TTACTUATORMAPFILE>BAX479-DM97-map.dat</TTACTUATORMAPFILE>
      <TTACTUATORSIGNMAPFILE>BAX479-DM97-sign.dat</TTACTUATORSIGNMAPFILE>
      <TTBIASFILE>dark64x64_1000Hz+20deg_14_02_22.dat</TTBIASFILE>
      <TTCAMTINT>0.000994919</TTCAMTINT>
      <TTCENTROIDGAINX>-4.249796</TTCENTROIDGAINX>
      <TTCENTROIDGAINY>3.7651188</TTCENTROIDGAINY>
      <TTCENTROIDORIGX>-0.0000</TTCENTROIDORIGX>
      <TTCENTROIDORIGY>0.0000</TTCENTROIDORIGY>
      <TTDIAGDECIMATION>0</TTDIAGDECIMATION>
      <TTDIAGENABLED>true</TTDIAGENABLED>
      <TTDIAGRECORDIPV4>192.168.61.113</TTDIAGRECORDIPV4>
      <TTDIAGRECORDMAC>4c:d9:8f:a0:22:44</TTDIAGRECORDMAC>
      <TTDIAGRECORDPORT>8001</TTDIAGRECORDPORT>
      <TTDMFLATFILE>dm_shape_2023-07-11-14-25-12_int_140b_90el_T15C_0as.txt</TTDMFLATFILE>
      <TTDMMAXPOWER>10</TTDMMAXPOWER>
      <TTDMOUTPUTENABLED>1</TTDMOUTPUTENABLED>
      <TTFRAMERATE>1000</TTFRAMERATE>
      <TTHISTORYENABLED>0</TTHISTORYENABLED>
      <TTLOOPENABLED>0</TTLOOPENABLED>      
      <TTMASTERDECENABLED>true</TTMASTERDECENABLED>
      <TTMAXCENTROIDVAL>+1</TTMAXCENTROIDVAL>
      <TTMAXTTCOMMAND>3</TTMAXTTCOMMAND>
      <TTMINCENTROIDVAL>-1</TTMINCENTROIDVAL>
      <TTMINTHRESHOLD>100</TTMINTHRESHOLD>
      <TTMINTTCOMMAND>-3</TTMINTTCOMMAND>
      <TTNSLOPEPIXELS>4096</TTNSLOPEPIXELS>
      <TTPIXELDECIMATION>49</TTPIXELDECIMATION>
      <TTPIXELENABLED>1</TTPIXELENABLED>
      <TTPIXELGAINFILE>flat_gain_64x64.dat</TTPIXELGAINFILE>
      <TTPIXELGAINMODE>FLATGAIN</TTPIXELGAINMODE>
      <TTRTCMDENABLED>0</TTRTCMDENABLED>
      <TTTIMEHISTLEN>50000</TTTIMEHISTLEN>
      <TTTIMEHISTORYFILE>TimeHistory.dat</TTTIMEHISTORYFILE>
      <TTWINCOLS>64</TTWINCOLS>
      <TTWINROWS>64</TTWINROWS>
      <TTWINCOORDX>224</TTWINCOORDX>
      <TTWINCOORDY>212</TTWINCOORDY>
      
    </TipTiltCtrlSetup>
  </Template>
</ObservationBlock>
