Giter VIP home page Giter VIP logo

sofia-sila-pms's Introduction

SOFIA: a SiLA PMS Consumer

SOFIA (SiLA-compliant, Open source, Fast, Intelligent Application) is a reference implementation of a SiLA PMS Consumer. Project SOFIA promotes the development of open source laboratory automation tools.

SOFIA enable you to connect multiple SiLA-compliant lab devices to your virtual lab, share and discover SiLA lab devices in your network, execute SiLA Commands (e.g. move a robot, dispense a liquid) and get data (e.g. temperature, status, duration) from your lab devices, and collaborate and share in real time your protocols/methods runs with any other user in your network.

A video of SOFIA controlling a dispenser in the lab can be seen in the following link:

https://youtu.be/lelSgY8S-pM

SOFIA is an open source, cross-platform project that was developed as a proof-of-concept for the SiLA core principles: the “Lab of the Future”, a rapid innovation ecosystem connecting devices and people, and exchanging knowledge. SOFIA facilitates the future open source development of more advanced functionalities of a SiLA PMS, such as a error handling, scheduler, workflow engine, device management, etc.

SOFIA could potentially be developed into an on-demand laboratory services hosted in the cloud, where user can run real-time experiments in remote labs across the globe.

How to run

To install and run SOFIA, you first need to install git, node.js (v0.12.2+), npm (v2.7.4), and meteor (v1.1). The "run.js" script will run only in node.js version 0.12 or higher (check in the terminal your version with "node -v").

The following commands are tested and working in Linux (Ubuntu 14.04) and Mac OS X. The "run.js" script doesn't run in Windows (yet), althought SOFIA is fully compatible for Windows. A new "run.js" will be created soon to allow the installation in Windows.

1. Download SOFIA:
git clone https://github.com/ebastidas/sofia-sila-pms.git
2. Run SOFIA:
cd sofia-sila-pms/
node run.js

SOFIA will run locally now at http://127.0.0.1:3000/ in your browser, and will be able to connect and control SiLA lab devices/drivers only in the same local IP (running in different ports).

If you need to communicate to SiLA lab devices/drivers hosted in different IPs (for instance, a Dispenser is located at 192.168.0.2, a Robot is located at 192.168.0.3), then you can run SOFIA as follows with environmental variables (SOFIA_IP and SOFIA_PORT) that specifies the IP and port of the machine where SOFIA is currently running (for instance, 192.168.0.1):

env SOFIA_IP=192.168.0.1 SOFIA_PORT=80 node run.js

SOFIA will run now at http://192.168.0.1:80/ in your browser, and will be able to connect and control all the SiLA lab devices/drivers within your local network.

Troubleshoot

You need to update your NodeJS version to (v0.12.2+), if you get the following error running the file run.js:

child = spawn(command, [ 'install', '--prefix', __dirname + '/consumer/event
TypeError: undefined is not a function

TODO

  • Instructions to install SOFIA in Windows

Copyright (c) 2015 Erick Bastidas | wega Informatik AG

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.