Skip to main content

Shared helpers used by the different ate-apps, i.e. master-app, control-app, etc.)

Project description

The semi-ate-control-app package

This package provides some a command line tool (launch_control). In order to use this application you have to configure it first. This tool should be run on some test node, i.e. some host controlling measurement instruments. It communicates with the master application from the semi-ate-master-app package by MQTT. The master application sends mqtt-messages to steer the control application. The control application itself is responsible for loading/unloading and executing some test-program. Test results, i.e. STDF records, are send back to the master application.

Configuration

Configuration of the control application is done by writing a JSON file called control_config_file.json. The following key-value-pairs have to be defined:

{
    "broker_host": "127.0.0.1",
    "broker_port": 1883,
    "device_id": "SCT-82-1F",
    "site_id": "0",
    "loglevel": 10
}
  • broker_host defines the ip address of the mqtt broker.
  • broker_port defines the prot of the mqtt broker.
  • device_id defines a unique id of the so-called test-system. A test system can contain several host running he control applications. And some host running the master application.
  • site_id is the unique identifier of the host running the control application
  • loglevel defines the log-level of the control application

The device_id and site_id is used to build unique mqtt-message-topics automatically. The idea is that no test-system influences some other test system.

Starting the Control Application

We assume that the semi-ate-control-app has been installed in the current python environment. Further configuration control_config_file.json file is located in the current folder.

IMPORTANT: The configuration file has to be named control_config_file.json

(environment)> launch_control
control 0|21/03/2022 04:14:10 PM |INFO    |mqtt connected
control 0|21/03/2022 04:14:10 PM |INFO    |control state is: idle

Download files

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

Source Distribution

semi-ate-control-app-1.0.0.tar.gz (13.9 kB view details)

Uploaded Source

File details

Details for the file semi-ate-control-app-1.0.0.tar.gz.

File metadata

  • Download URL: semi-ate-control-app-1.0.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for semi-ate-control-app-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3a3e23f9b03f6bea6e97e978d32c4bc9c7cb49fdebc945a69512b0bd2f1be7f5
MD5 3ff9fce1e23968b398972dbf8cc41d65
BLAKE2b-256 e1721386e0c1e7cd8cdd8b7be15d36148b5a0d6ae98168c7fb90fc58a03a4a13

See more details on using hashes here.

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