Ingeniamotion is a library that works over ingenialink and aims to simplify the interaction with Ingenia's drives.
- Python 3.9 or higher
- WinPcap 4.1.3
The recommended way to install is by using pip, i.e:
pip install ingeniamotionInstall poetry:
pip install poetryUse an environment with a certain Python version:
poetry env use 3.12Install the required dependencies:
poetry install --all-groupsTo install FSoE (optional):
poetry install --extras fsoeTo produce the documentation, run the following command:
poetry run poe docsCreate tests/setups/tests_setup.py file with configuration file.
This file is ignored by git and won't be uploaded to the repository. Example of a setup:
from pathlib import Path
from summit_testing_framework.setups import LocalDriveConfigSpecifier
DEN_NET_E_SETUP = LocalDriveConfigSpecifier.from_ethercat_configuration(
identifier="den-net-e",
dictionary=Path("C://Users//some.user//Downloads//den-net-e_eoe_2.7.3.xdf"),
config_file=Path("C://Users//some.user//Downloads//den_net_e.xcf"),
firmware=Path("C://Users//some.user//Downloads//den-net-e_2.7.3.lfu"),
ifname="\\Device\\NPF_{675921D7-B64A-4997-9211-D18E2A6DC96A}",
slave=1,
boot_in_app=False,
)
TESTS_SETUP = DEN_NET_E_SETUPFor more information, check summit-testing-framework documentation.
Run tests selecting the markers that you want and are appropriate for your setup. Beware that some tests may not be appropriate for the setup that you have and may fail.
poetry run poe tests -m {markers}