Skip to content

Update ReadMe.md file #138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update ReadMe
  • Loading branch information
hpdang authored Aug 1, 2020
commit 28a5a76e51d4482e2c4b5fa98398b6add3cb4095
45 changes: 39 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,63 @@ This repository hosts the python library for communicating with the Pocket Scien

To install PSLab on Debian based GNU/Linux system, the following dependencies must be installed.

### Dependencies

* Python 3.4 or higher [Link to Official download page](https://www.python.org/downloads/windows/)
### Prerequisites & Dependencies
* Python 3.4 or higher [Link to Official download page](https://www.python.org/downloads/)
* Pip   **Support package installer**
* NumPy   **For numerical calculations**
* PySerial   **For device connection**
* iPython-qtconsole   **_Optional_**
* [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)

**Note**: If you are only interested in using PSLab as an acquisition device without a display/GUI, only one repository [pslab-python](https://github.com/fossasia/pslab-python) needs to be installed. If you like a GUI, install the [pslab-desktop app](https://github.com/fossasia/pslab-desktop) and follow the instructions of the Readme in that repo.

### How To Install on Linux

cd into the directories
Clone [pslab-python](https://github.com/fossasia/pslab-python) repository

$ git clone <REPO>

Go into **pslab-python** directory

$ cd <SOURCE_DIR>

and run the following
And run the following

$ sudo make clean
$ sudo make
$ sudo make install

Now you are ready with the PSLab software on your machine.
Now you connect PSLab device to your machine, to check whether device is detected, run `$ ls -l /dev/ttyACMx`: x is 0 for the first device.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a good check

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hello there, I'm new and i am not sure if that was meant for me or not as I only tried to fix grammar and most basic errors...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello Abhinav, what do you mean by you're not sure?

We use lsusb for a connection check.


Start python command-line interface and begin to program your PSLab

$ python3

### How to Install on Mac

Make sure you have all the Dependencies installed. Then open Terminal on your Mac.

Clone [pslab-python](https://github.com/fossasia/pslab-python) repository

$ git clone <REPO>

Go into **pslab-python** directory

$ cd <SOURCE_DIR>

And run the following

$ sudo make clean
$ sudo python3 setup.py build
$ sudo make install

Now you connect PSLab device to your machine, to check whether device is detected, run `ls -l /dev/tty.usbserial-*`

Start python command-line interface and begin to program your PSLab

$ python3


### How to Install on Windows

**Step 1**: Install the latest Python version on your computer and configure `PATH` variable to have both Python installation directory and the Scripts directory to access `pip` tools. In Windows, Python is installed in `C:` drive by default. We can set `$PATH` by opening the **Environment variables** dialog box by following the steps below:
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy