<xml xmlns="https://developers.google.com/blockly/xml">

<description>
<![CDATA[

# Full wave rectifier

<img class="ui image fluid" src='data:image/svg+xml;base64,[encoded data, 22888 characters]'/>

Make connections as shown in the figure.

Set the WG frequency to 1000 Hz. 

Connect different values of filter capacitor and measure the ripple voltage.

---



]]>	
</description>
  <variables>
    <variable id="@X+|E..Oe?D`3VPgf,]h">timestamps</variable>
    <variable id="iI7+@[._G[|uQoWWCkZ-">data1</variable>
    <variable id="Y@b#km#djBlB(dLmI#Pj">data2</variable>
    <variable id="b3=O!fL+1KQ5]mK9m2Jh">data3</variable>
    <variable id="-xqv!CR4:l1+X+O8yn?3">data4</variable>
  </variables>
  <block type="set_frequency" id="RLR%UpGc}k_6b0jP.3~4" x="9" y="0">
    <field name="CHANNEL">WG</field>
    <value name="FREQUENCY">
      <block type="math_number" id="_hk^8a9DlF`w^Z40ak_$">
        <field name="NUM">1000</field>
      </block>
    </value>
    <next>
      <block type="controls_whileUntil" id="4zA6w#iFS6sXjLrU~Ctf">
        <field name="MODE">WHILE</field>
        <value name="BOOL">
          <block type="logic_boolean" id="||B8-,v+Bw6BiZwRLdy!">
            <field name="BOOL">TRUE</field>
          </block>
        </value>
        <statement name="DO">
          <block type="capture4" id="J,eg?,s@@DdV|8XMY,7Q">
            <field name="CHANNEL">A1</field>
            <field name="SAMPLES">400</field>
            <field name="TIMEGAP">5</field>
            <field name="TIMESTAMPS" id="@X+|E..Oe?D`3VPgf,]h">timestamps</field>
            <field name="DATA1" id="iI7+@[._G[|uQoWWCkZ-">data1</field>
            <field name="DATA2" id="Y@b#km#djBlB(dLmI#Pj">data2</field>
            <field name="DATA3" id="b3=O!fL+1KQ5]mK9m2Jh">data3</field>
            <field name="DATA4" id="-xqv!CR4:l1+X+O8yn?3">data4</field>
            <next>
              <block type="plot_xyyyarray" id="y!R.naj=Y`8n;zI,yEzv">
                <value name="X">
                  <block type="variables_get" id="cyAP@]FOR+7Dx3,%m%H7">
                    <field name="VAR" id="@X+|E..Oe?D`3VPgf,]h">timestamps</field>
                  </block>
                </value>
                <value name="Y1">
                  <block type="variables_get" id=".{c%{^TyUvx|$UAnP_[J">
                    <field name="VAR" id="iI7+@[._G[|uQoWWCkZ-">data1</field>
                  </block>
                </value>
                <value name="Y2">
                  <block type="variables_get" id="iYcSvKJp*L}ah*uM*Q?#">
                    <field name="VAR" id="Y@b#km#djBlB(dLmI#Pj">data2</field>
                  </block>
                </value>
                <value name="Y3">
                  <block type="variables_get" id="iBub9D(Q]}gC!K3`{7]_">
                    <field name="VAR" id="b3=O!fL+1KQ5]mK9m2Jh">data3</field>
                  </block>
                </value>
                <next>
                  <block type="wait_seconds" id="nkI`Mm__brZqT1w4U?HA">
                    <field name="SECONDS">0.1</field>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </next>
  </block>
</xml>
