Skip to content

mainCSG/SpanishAcquisition-install

Repository files navigation

SpanishAcquisition-install

Instructions on how to install Spanish Acquisition on a new Windows computer. All files required for install are in the repo. Tested on Windows 10. If anything is not working, do not hesitate to email [email protected] for help.

Installing Spanish Acquisition

  1. Install python 2.7.18, verify with,

    C:Python27\python.exe -V
    

    Windows 64 bit installer in "python" folder

    Note: If python 3 is/will be installed on your machine, do not add to PATH as this will cause problems.

  2. Add Swig folder to path Follow instructions "Add to the PATH on Windows 10". No installation is necessary, just add the folder to path.

  3. Install the Visual C++ Redistributable for the machine

    https://community.chocolatey.org/packages/vcpython27, C++ 9.0 compiler for python 2.7 required or else traits install won't work. https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

  4. Install wxPython 3.0.2.0 Run wxPython3.0-win64-3.0.2.0-py27 installer

    Note: This is a python package, but will not appear in "pip list" since it is not (and cannot be) installed by pip

  5. Install all python packages from requirements.txt

    C:Python27\python.exe -m pip install -r requirements.txt
    

    Note: NumPy will have to be installed first as Chaco has dependance on it. The versions of all the packages are important

  6. Install the SpanishAcquisitionIQC repo from Github

    link: https://github.com/mainCSG/SpanishAcquisitionIQC

  7. Install the repo

    This can be done by running

    C:Python27\python.exe setup.py install
    

    from the folder where the repo is located

At this point, you should be able to run Spanish Acquition. You can try it out by running

C:Python27\python.exe .\examples\acquisition.py

from the folder where the repo is located.

Installing Drivers

However, you will not be able to communicate with many pieces of equipement because there aren't any equipement drivers. Fortunately, this part is quite straightforward since driver support for Windows is good.

  1. Install NI MAX

    https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGQwCAO&l=en-CA

  2. Install drivers necessary for system

    Note: I recommend you install all of them since it's quite simple and you don't want to add a new instrument later with a different driver and not understand why it isn't communicating properly.

    1. For USB-GPIB adapter: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGw4CAG&l=en-CA

    2. For USB controller: https://www.ni.com/en-ca/support/downloads/drivers/download.ni-845x-driver-software.html#460629

    Ethernet connections do not require a driver to by installed by NI MAX

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published