Skip to content

arenaudineau/AwesomeArray-PythonDriver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome Array Python Driver

Python drivers to control the Awesome Array, developped @ C2N.

Installation

This library requires:

  • ⚠️ 32 bits version of Python
  • pyserial version 3.5 or any other compatible version
  • pyvisa version 1.12.0 or any other compatible version
  • pandas version 1.4.2 or any other compatible version
  • The associated NI-VISA drivers, see the official doc. (⚠️ 32 bits version required)

Global installation

  1. Download and install the NI-VISA drivers
  2. B1530driver.py and B1530ErrorModule.py are licensed and cannot be shared on GitHub, they are therefore missing on this repo.
    You must add their path to the environment variable PYTHONPATH. See the end of this README for instructions.
  3. Run the command pip install https://github.com/arenaudineau/AwesomeArray-PythonDriver/archive/refs/heads/main.zip

You can now use aad as a regular library, by using import aad in any directory on the computer.

Extending the driver

You need to create a fork of this repo, git clone your fork onto your local computer.
Alternatively, you can also download this repo via the link https://github.com/arenaudineau/AwesomeArray-PythonDriver/archive/refs/heads/main.zip.

Then run pip install -e . in the root of the downloaded folder.
You can know use aad in any directory of the computer and any changes in the sources will be taken into account.

Adding path to PYTHONPATH

Win + R -> Write "SystemPropertiesAdvanced", Enter => Environment Variables... => User Variables for XXX ;
If PYTHONPATH exists, edit it and append the path to B1530driver files ;
Otherwise, create it.

Wiki

Here is a complete wiki on how to use this library.

About

Python drivers to control the Awesome Array, developped @ C2N

Resources

Stars

Watchers

Forks

Languages