Skip to content

Commit

Permalink
deploy: 04eda28
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnhaug223 committed Jun 4, 2024
1 parent a8e0d67 commit 45c7e6e
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 5 deletions.
Binary file added _images/DevicePinouts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 11 additions & 1 deletion _sources/design_principles/design_process.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,10 @@ On the PCI Board, connect the positive and negative wires to the corresponding
we used AO 0, so we connected the positive wire to pin 10 and the ground to pin 11, then plug the BNC cable connected to
those wires into the EXT IN input on the Tiger controller panel corresponding to the piezo.

.. image:: Images/DevicePinouts.png
:align: center
:alt: How to find the Device Pinout panel

Plug the piezo cable into the PIEZO input on the Tiger controller panel corresponding to the piezo.

Verify the range of the piezo in the tiger controller software with the command "5 cca x?"
Expand Down Expand Up @@ -392,9 +396,15 @@ Now we can see that the piezo is set to the correct range (Pf).
With that verified, now confirm that the voltage output from the PCI Board is working:
1. Put the BNC cable input currently in EXT IN on the Tiger control panel into the input of the oscilloscope instead.
2. Go to the test panels for the PCI board in NI MAX.
.. image:: Images/TestPanels.png
:align: center
:alt: How to find the Test Panels panel
3. Set the voltage mode to sinewave generation.
4. Set the voltage range to be between 0 to 10 V.
5. Set the frequency to a desired value (we ended up setting it pretty high at 10000 Hz for ease of viewing on the oscilloscope).
.. image:: Images/TestPanelConfiguration.png
:align: center
:alt: How to find the Test Panels panel

With the voltage output of the PCI board verified, plug the PCI Board voltage cable output back into the EXT IN slot and
verify that the position output of the Piezo reads similarly on the oscilloscope:
Expand All @@ -404,7 +414,7 @@ verify that the position output of the Piezo reads similarly on the oscilloscope

If the PCI Board voltage is working as intended but the piezo position output doesn't seem to work, try ensuring that
the piezo is set in `External Input mode, and not Controller Input mode <https://asiimaging.com/docs/commands/pm>`_:
1. Use the :kbd:`PM Q?` (Our piezo corresponds to Q) command:
1. Use the "PM Q?" (Our piezo corresponds to Q) command:
- the output was "Q = 0" originally, telling us that it's in Controller Input mode
2. Use the "PM Q = 1" command to set the piezo into External Input mode:
- now the output of "PM Q?" is "Q = 1"
Expand Down
31 changes: 28 additions & 3 deletions design_principles/design_process.html
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ <h2>Piezo Setup &amp; Troubleshooting<a class="headerlink" href="#piezo-setup-tr
<p>On the PCI Board, connect the positive and negative wires to the corresponding analog output (AO) you want, in our case
we used AO 0, so we connected the positive wire to pin 10 and the ground to pin 11, then plug the BNC cable connected to
those wires into the EXT IN input on the Tiger controller panel corresponding to the piezo.</p>
<img alt="How to find the Device Pinout panel" class="align-center" src="../_images/DevicePinouts.png" />
<p>Plug the piezo cable into the PIEZO input on the Tiger controller panel corresponding to the piezo.</p>
<p>Verify the range of the piezo in the tiger controller software with the command “5 cca x?”</p>
<blockquote>
Expand Down Expand Up @@ -402,11 +403,35 @@ <h2>Piezo Setup &amp; Troubleshooting<a class="headerlink" href="#piezo-setup-tr
<blockquote>
<div><ol class="arabic simple">
<li><p>Put the BNC cable input currently in EXT IN on the Tiger control panel into the input of the oscilloscope instead.</p></li>
<li><p>Go to the test panels for the PCI board in NI MAX.</p></li>
</ol>
<p>2. Go to the test panels for the PCI board in NI MAX.
.. image:: Images/TestPanels.png</p>
<blockquote>
<div><dl class="field-list simple">
<dt class="field-odd">align<span class="colon">:</span></dt>
<dd class="field-odd"><p>center</p>
</dd>
<dt class="field-even">alt<span class="colon">:</span></dt>
<dd class="field-even"><p>How to find the Test Panels panel</p>
</dd>
</dl>
</div></blockquote>
<ol class="arabic simple" start="3">
<li><p>Set the voltage mode to sinewave generation.</p></li>
<li><p>Set the voltage range to be between 0 to 10 V.</p></li>
<li><p>Set the frequency to a desired value (we ended up setting it pretty high at 10000 Hz for ease of viewing on the oscilloscope).</p></li>
</ol>
<p>5. Set the frequency to a desired value (we ended up setting it pretty high at 10000 Hz for ease of viewing on the oscilloscope).
.. image:: Images/TestPanelConfiguration.png</p>
<blockquote>
<div><dl class="field-list simple">
<dt class="field-odd">align<span class="colon">:</span></dt>
<dd class="field-odd"><p>center</p>
</dd>
<dt class="field-even">alt<span class="colon">:</span></dt>
<dd class="field-even"><p>How to find the Test Panels panel</p>
</dd>
</dl>
</div></blockquote>
</div></blockquote>
<p>With the voltage output of the PCI board verified, plug the PCI Board voltage cable output back into the EXT IN slot and
verify that the position output of the Piezo reads similarly on the oscilloscope:</p>
Expand All @@ -422,7 +447,7 @@ <h2>Piezo Setup &amp; Troubleshooting<a class="headerlink" href="#piezo-setup-tr
<blockquote>
<div><ol class="arabic simple">
<li><dl class="simple">
<dt>Use the <kbd class="kbd compound docutils literal notranslate"><kbd class="kbd docutils literal notranslate">PM</kbd> <kbd class="kbd docutils literal notranslate">Q?</kbd></kbd> (Our piezo corresponds to Q) command:</dt><dd><ul class="simple">
<dt>Use the “PM Q?” (Our piezo corresponds to Q) command:</dt><dd><ul class="simple">
<li><p>the output was “Q = 0” originally, telling us that it’s in Controller Input mode</p></li>
</ul>
</dd>
Expand Down
Loading

0 comments on commit 45c7e6e

Please sign in to comment.