Master application used for steering the control applications in an ATE test environment.
Project description
The semi-ate-master-app package
This package provides a command line tool (launch_master
). In order to use this application you have to configure it first. This tool should be run on host that either runs the control application from the semi-ate-control-app
package or that is connected via ethernet to further hosts running the control application.
The master application controls the so-called control applications, i.e. test nodes. To do so the master sends commands to the different test nodes using MQTT messages. Among others these commands
include commands for loading and unloading test programs and starting the test execution.
The muster application can be controlled using a web interface or it is controlled by some handler application.
Configuration
Configuration of the master application is done by writing a JSON file called master_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",
"sites": [
"0"
],
"Handler": "HTO92-20F",
"environment": "F1",
"webui_host": "127.0.0.1",
"webui_port": "8081",
"jobsource": "filesystem",
"jobformat": "xml.semi-ate",
"skip_jobdata_verification": false,
"filesystemdatasource.path": ".",
"filesystemdatasource.jobpattern": "le#jobname#.xml",
"enable_timeouts": true,
"user_settings_filepath": "master_user_settings.json",
"site_layout": { "0": [0, 0]},
"tester_type": "Semi-ATE Master Single Tester",
"loglevel": 10,
"web_root_folder": "./"
}
broker_host
defines the ip address of the mqtt broker.broker_port
defines the prot of the mqtt broker.site_layout
defines the site layout of the different test sites.device_id
defines the name of the test sitesites
defines an array containing the test node ids running the control applicationHandler
defines the name of some device handler or wafer handler, i.e. proberenvironment
defines the test environment (F1, F2, F3, P1, P2, P3)webui_host
defines the ip of the web interface for controlling he master application manuallywebui_port
defines the port number of the web interfacewebui_root_path
defines the URI of the web-resources, i.e. the folder containing the index.html of some web application.jobsource
defines the location where to find test job definitionsjobformat
defines the format of the job definitionsskip_jobdata_verification
defines whether the job definition has to be verifiedfilesystemdatasource.path
defines the path where to find job definitionsfilesystemdatasource.jobpattern
defines the pattern for the name of the test job file. This is done by replacing #jobname# by the job id, i.e. the lot id.enable_timeouts
defines whether or not timeouts are enabled. If enabled the system will produce some error message if certain things like becomming ready, loading or undloading a test program etc. take to much time.user_settings_filepath
defines where the user specific settings are stored. These settings are set via the web interface.site_layout
defines for each site the layout. The layout is the start coordinate of some sitetester_type
defines the type of he tester. This provided by the tester plugin.loglevel
defines the log-level of the control application
Starting the Master Application
We assume that the semi-ate-master-app package has been installed in the current python environment. Further the configuration file master_config_file.json is located in the current folder.
IMPORTANT: The configuration file has to be named master_config_file.json
(environment)> launch_master
======== Running on http://127.0.0.1:8081 ========
(Press CTRL+C to quit)
master |22/03/2022 04:45:37 PM |INFO |mqtt connected
master |22/03/2022 04:45:37 PM |INFO |Master state is connecting
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file semi-ate-master-app-0.2.2.tar.gz
.
File metadata
- Download URL: semi-ate-master-app-0.2.2.tar.gz
- Upload date:
- Size: 36.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20e6d637f7129371365c75a52a74b966dee9376f915981d566cbb7a0c3259388 |
|
MD5 | 567d1c0f73c8b5ad8f7e52551e1584e6 |
|
BLAKE2b-256 | d3ea5dc2c884a234b76eeed19534d21f9e5c318f1074493359c18b9ec1f9a448 |