Skip to main content

Add a short description here!

Project description

Project generated with PyScaffold

philip-pal2

The PHiLIP (Primitive Hardware In the Loop Integration Product) PAL (Protocol Abstraction Layer)

Description

The application layer based on the mm_pal for PHiLIP. Providing helpers and connection details specifically for PHiLIP.

PHiLIP PAL Installation

As this is both a python library (Phil interface) and application (philip-cli) you may or may not want to install in a virtual environment.

Generally, a simple pip installation should work:

pip install philip-pal2

Logging on to PHiLIP CLI

First connect PHiLIP to the computer so a serial port connection is available.

To log into PHiLIP run:

philip-cli

Running single PHiLIP commands

Besides the full PHiLIP PAL Shell there is also CLI mode for simple one-shot access to PHiLIP interface functions. It allows to reset the PHiLIP MCU and the connected DUT.

After connecting PHiLIP simply run python3 -m philip_pal --help to get the following full usage description:

usage: python3 -m philip_pal [-h] [--verbose] [--dut_reset] [--reset] [port]

positional arguments:
  port         PHiLIP serial port

optional arguments:
  -h, --help   show this help message and exit
  --verbose    Enable more output
  --dut_reset  Reset device-under-test (DUT)
  --reset      Reset PHiLIP MCU

To get output use --verbose, otherwise commands will silently be executed.

Note

This project has been set up using PyScaffold 4.3.1. For details and usage information on PyScaffold see https://pyscaffold.org/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

philip-pal2-0.0.2.tar.gz (68.9 kB view hashes)

Uploaded Source

Built Distribution

philip_pal2-0.0.2-py3-none-any.whl (57.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page