Skip to content

Commit

Permalink
MCC DAQ -> Update Description
Browse files Browse the repository at this point in the history
  • Loading branch information
franz-sweepMe committed May 23, 2024
1 parent 57685d0 commit 67db014
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions src/Logger-MCC_DAQ/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,21 @@

class Device(EmptyDevice):
"""Driver to read out MCC DAQ devices."""
description = """
<h4>MCC High-Speed Multifunction DAQ</h4>
<p>To use this driver, installation of Universal Library™ from the MCC DAQ Software package is needed.
Please download it from the <a href="https://www.mccdaq.com/Software-Downloads">MCC Homepage</a></p>

<p>If your device supports additional AI ranges, they can be added by extending the
<code>available_ai_ranges</code> dictionary.</p>
"""
description = """
<h3>MCC High-Speed Multifunction DAQ</h3>
<h4>Setup</h4>
<p>To use this driver, installation of Universal Library&trade; from the MCC DAQ Software package is needed. Please
download it from the <a href="https://digilent.com/reference/software/universal-library/windows/start">Digilent Reference</a></p>
<h4>Parameters</h4>
<ul>
<li>For Single-Ended measurements, the High-Pins (CH0H-CHXH) correspond to the first 0-X Analog Channels and the Low
-Pins (CH0L-CHXL) correspond to the remaining X+1 - 2X Analog Inputs.</li>
<li>For Differential measurements, the difference between High and Low Pin of the same number (CH0H-CH0L) is
measured.</li>
<li>The Analog Input Channels should be set as colon-separated integers according to the CH.</li>
</ul>
"""

def __init__(self) -> None:
"""Initialize driver parameters."""
Expand Down Expand Up @@ -96,7 +102,7 @@ def set_GUIparameter(self) -> dict: # noqa: N802
"""Set standard GUI parameter."""
return {
"Analog input mode": list(self.measurement_modes.keys()),
"Analog input channels": "1, 2",
"Analog input channels": "0, 1",
"Analog input range": list(self.available_ai_ranges.keys()),
}

Expand Down

0 comments on commit 67db014

Please sign in to comment.