Skip to content

m1k-builds/pysmu-adalm1000-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Programming for the ADALM1000 in Python

A Python library and set of tools for the Analog Devices ADALM1000 Active Learning Module.


This Repository builds upon @aditya-rao-iit-m's work and tries to make it easier to templatize pysmu projects and scripts.


Template Instructions

Check top right of the repo and click on Use this template. -> Create a new Repository

New repo

Fill out an appropriate name for the script that is concise, and aptly communicates the purpose of the script, like SquareWave-ADALM1000 and optionally add a short description.

Details

Finally scroll to the bottom of the page and click submit. Make a note of the URL, you will need it very soon in the next step!

Edit the main.py file here to make modifications to your code.

Windows/Linux/Mac Install Instructions

  1. Install Prefix.Dev's pixi as per official instructions at https://pixi.sh/latest/#installation
    • Close your terminal window and open another one after installing.
  2. Ensure that git is already installed and are accessible from the terminal! Try running just the git command to see if it gives you usage instructions.
    • If you are sure that it is not already installed, run the following command:
      pixi global install git
      This will quickly set up git using the same pixi tool.
  3. Prepare workspace with the command
    git clone https://github.com/m1k-builds/pysmu-adalm1000-template adalm1000
    or replace m1k-builds/pysmu-adalm1000-template with your repository that you made in the previous section. The final adalm1000 at the end of the command tells the git tool to clone to adalm1000 folder/directory.
    git clone https://github.com/yourusername/yourreponame adalm1000
    and enter the directory
    cd adalm1000
  4. Run the following Command to let pixi setup your environment
    pixi install
  5. Start main.py
    pixi run main

Credits

Original Program: RGB+PIO Cycle Script

  • Author: Aditya Rao (23f3000019@es.study.iitm.ac.in)
  • Program: BS in Electronic Systems, IIT Madras
  • Date: Friday, 5th April 2024

About

Custom PySMU Scripts for Programming the ADALM1000 SMU

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%