Keysight DAQ 34980A with 34925A-1W Diagnostic Package
Project description
Keysight34980A Interface
Interface and diagnostic tests for Keysight 34980A DAQ
Clone repository
cd <path-to-directory>
git clone git@gitlab.com:pass-testing-solutions/keysight34980a-interface.git
cd keysight34980a-interface/
git pull origin main
git checkout -b <your-new-branch> # Please follow the branch naming convention as mentioned in the coding guidelines
Virtual environment on MacOS
1. Virtualenvwrapper
You can install virtualenv and virtualenvwrapper with:
pip3 install virtualenv
pip3 install virtualenvwrapper
mkdir ~/.virtualenvs
# Might need to query where the virtualenv and virtualenvwrapper.sh are
which virtualenv
which virtualenvwrapper.sh
which python3
Add these lines in the ~/.zshrc file
# Setting PATH for Python 3 installed by brew
export PATH=<path-to-your-python3>:$PATH
# Configuration for virtualenv
export WORKON_HOME=$HOME/.virtualenvs
export VIRTUALENVWRAPPER_PYTHON=<path-to-your-python3>
export VIRTUALENVWRAPPER_VIRTUALENV=<path-to-your-virtualenv>
source <path-to-your-virtualenvwrapper.sh>
source $ZSH/oh-my-zsh.sh
Make sure to save these changes in your file and close your terminal for them to take effect. Now you can create a virtual environment by simply typing:
mkvirtualenv <name-of-your-virtual-env>
cd <your-git-repository>
workon <name-of-your-virtual-env>
deactivate <name-of-your-virtual-env>
To add the correct interpreter for your repository on PyCharm:
- PyCharm IDE > Preferences > Project > Python Interpreter
- Select the 'Add' button for interpreters
- Choose the 'Existing environments' in 'Virtualenv'
- Add the python3 file from /bin/ of your venv folder
E.g. - .virtualenvs/demo_repo_venv/bin/python3
After setting up the venv for the repo please install all the requirements and allow some time for the IDE to do indexing. If your repository has a requirements.txt:
pip3 install -r requirements.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pts_keysight_daq-0.0.10.tar.gz
.
File metadata
- Download URL: pts_keysight_daq-0.0.10.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.14 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75cb9b32a18053e9058c52c4c784f4af8fa4ff0ead8334fc5b31dc5f017c5c51 |
|
MD5 | 28f1ac1148fd4a0acfd5e136f062f0aa |
|
BLAKE2b-256 | babce04ef62cd415bbd8bcdacde9aed7c90b814273532fc892636d40e9b265b2 |
File details
Details for the file pts_keysight_daq-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: pts_keysight_daq-0.0.10-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.14 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3904e99a9f8c1c8412afb7bb69bb2f6d370ccd749bcfd57b78f2778a08d5c85a |
|
MD5 | 4ff65031a13c11e0085f63ee8d004492 |
|
BLAKE2b-256 | 0f74a850a2a5e2f392f63d6100382fcebb21a9f747d5bda57fb874e902b689a0 |