Skip to content

Repository files navigation

This software is not affiliated with MCC DAQ in any way. It just happens to be used for projects with MCC DAQ counter modules.

Windows Setup:

1. Install MCC DAQ Software

Can be found here: http://www.mccdaq.com/Software-Downloads.aspx

2. Install this Software

2.a Binary Release

Go to https://github.com/klockeph/mcc-daq-acquisition/releases and download a binary (.exe) file from there. If you want to modify the code, don't use windows or cannot use the binary release for any other reason, follow the manual instructions below:

2.b Manual Installation

Download and install anaconda from https://www.anaconda.com/download

Open Anaconda Prompt (windows menu, search for anaconda)

In Anaconda prompt enter:

pip install -r requirements.txt

(you can also try conda install instead of pip install but probably it won't work for all packages)

Navigate to wherever you stored this software. E.g.:

cd Documents\virometer_code\

Then run the script by entering

python scan_counter.py

3. Enjoy!

Press [Space] in the graph-window to start a measurement. Press it again to stop and save it.

If you need to change any parameter, look in config.yaml

4. Known Errors

If you're getting an error that some freetype library is missing you have to install it from e.g. https://github.com/ubawurinna/freetype-windows-binaries according to https://stackoverflow.com/questions/55291132/runtime-error-freetype-library-not-found .

Note that this also requires Microsoft Visual C++ Redistributable für Visual Studio 2019. You can find this e.g. at https://visualstudio.microsoft.com/de/downloads/ (Under the "other" dropdown)

Other Things:

If you want to build an executable (after changing the script), use PyInstaller: https://pyinstaller.org/en/stable/

You will have to edit scan_counter.spec to include your venv/site-packages directory!

pip install pyinstaller
pyinstaller scan_counter.spec

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.


Copyright © 2023 Philipp Klocke (@klockeph)

About

For the virometer project of the Chair of Physical and Synthetic Biology of the LMU Munich

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages