<xml xmlns="https://developers.google.com/blockly/xml">
<description>
<![CDATA[
##  Resistance of Water

Resistance of water is an indication of it's purity. Water conducts mostly due to the dissolved salts. If you have never tried measuring the resistance of ordinary tap water try doing it with a multimeter. Are you getting a stable reading ?

<img src='data:image/svg+xml;base64,[encoded data, 5072 characters]'/>

- Make the connections as per the schematic. 

Choose the resistor comparable to that of water, start with 10k.
Enable A1 and A2 with the amplitude and frequency display options.
Calculate the resistance using the method of comparing with a known resistance.
Current flowing I = VA2/R1

]]>	
</description>

  <variables>
    <variable id="J-+@|mBt7ruFM6)FhVT-">timestamps</variable>
    <variable id="NsNgyd_8Jh5$%CRlizEp">data1</variable>
    <variable id="lJEBaS2!pcJs,/7Ddo-S">data2</variable>
  </variables>
  <block type="set_frequency" id="gpCl(26UF/yWoc^EiRo{" x="7" y="8">
    <field name="CHANNEL">SQ1</field>
    <value name="FREQUENCY">
      <block type="math_number" id="CJ%,Y3X@l=g@ni$~/f7h">
        <field name="NUM">1000</field>
      </block>
    </value>
    <next>
      <block type="controls_whileUntil" id="zZ;fAGE}L7O9pm]F*P;,">
        <field name="MODE">WHILE</field>
        <value name="BOOL">
          <block type="logic_boolean" id="t5^j!$/?f%O=CvtO_$Fz">
            <field name="BOOL">TRUE</field>
          </block>
        </value>
        <statement name="DO">
          <block type="capture_plot" id="_%1G2Qvl9OS@[XjX93l!">
            <field name="CHANNEL">A1</field>
            <field name="TIMESTAMPS" id="J-+@|mBt7ruFM6)FhVT-">timestamps</field>
            <field name="DATA1" id="NsNgyd_8Jh5$%CRlizEp">data1</field>
            <field name="DATA2" id="lJEBaS2!pcJs,/7Ddo-S">data2</field>
            <next>
              <block type="cs_sticker" id="{r#5+H7l.DNXK0cPjO%6">
                <value name="LABEL">
                  <shadow type="text" id="?_/0x_zn^aR;kuPHWGIO">
                    <field name="TEXT">A1 Amplitude</field>
                  </shadow>
                </value>
                <value name="TEXT">
                  <shadow type="text" id="|P|EVX6e=tKE,jO3?E}V">
                    <field name="TEXT">Reading</field>
                  </shadow>
                  <block type="sine_fit_arrays" id="%95{nq,tCqD(N0:hQsza">
                    <field name="PARAMETER">0</field>
                    <value name="X">
                      <block type="variables_get" id="ANQYv%zl7!yXhoJah(c1">
                        <field name="VAR" id="J-+@|mBt7ruFM6)FhVT-">timestamps</field>
                      </block>
                    </value>
                    <value name="Y">
                      <block type="variables_get" id="iirn{)=;G/+Rbf)tE0Ij">
                        <field name="VAR" id="NsNgyd_8Jh5$%CRlizEp">data1</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="cs_sticker" id="!H(_z{8Y$9*Nqc17:X6o">
                    <value name="LABEL">
                      <shadow type="text" id="%#9MoWB=*HT!A^,D#X$M">
                        <field name="TEXT">A2 Amplitude</field>
                      </shadow>
                    </value>
                    <value name="TEXT">
                      <shadow type="text" id="|P|EVX6e=tKE,jO3?E}V">
                        <field name="TEXT">Reading</field>
                      </shadow>
                      <block type="sine_fit_arrays" id="|;|xB=FDsNIUI[d2}m~H">
                        <field name="PARAMETER">0</field>
                        <value name="X">
                          <block type="variables_get" id="9VhGlVm50i4*,Zc)`ELJ">
                            <field name="VAR" id="J-+@|mBt7ruFM6)FhVT-">timestamps</field>
                          </block>
                        </value>
                        <value name="Y">
                          <block type="variables_get" id="XG{YBe(b.VkM`:RZa(w$">
                            <field name="VAR" id="lJEBaS2!pcJs,/7Ddo-S">data2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </next>
  </block>
</xml>
