Skip to content

Python Flask based server handling all communication between instruments & clients

License

Notifications You must be signed in to change notification settings

DataCQProject/InstrumentServer

Repository files navigation

Instrument Control and Automation Software

This project was worked on by Jahoon Koo, Supraja Kumbergeri, Ray Shash, and Thomas Starnes as part of our capstone project towards our master's degrees at the University of Colorado Boulder. This project was sponsored by NIST. For documentation on how to install and use, please see the WIKI

Main Window

VISA Backend:

Since PyVISA is used, you need to have a suitable VISA backend. PyVISA includes a backend that wraps the National Instruments’s VISA library. Download and install the NI-VISA library: NI-VISA

Setup:

  1. Run setupEnv.bat
  2. Once in the virtual enviroment "venv", run installPackages.bat

Run Instrument Server:

Starts on localhost (127.0.0.1) and port: 5000. Threading enabled by default.

Just run: __init__.py

Instrument Database

PostgresSQL database with parsed details from instrument driver.

Containerized instance of Postgres Alpine:

Requires Docker to be installed on HOST system.

From DB directory, run:

docker-compose up -d

Connection details:

  • Host: localhost
  • Port: 5432
  • Username: postgres
  • Password: 1234
  • Database name: instrument_db

Connect with Command Prompt:

Default schema: public
psql -h localhost -p 5432 -U postgres instrument_db


Icon Attributions

Server icons created by Pixel perfect - Flaticon
Play button icons created by Roundicons - Flaticon
Lab icons created by surang - Flaticon
Gear icons created by Freepik - Flaticon
Cancel icons created by Freepik - Flaticon
Plus icons created by dmitri13 - Flaticon
Create icons created by Arkinasi - Flaticon
Ui icons created by icon wind - Flaticon
Connect icons created by Dreamstale - Flaticon
Disconnected icons created by Alfian Dwi Hartanto - Flaticon

About

Python Flask based server handling all communication between instruments & clients

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages