A python implementation to control Vector Canalyzer via Win32Com interface.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
Win32Com
pip install pywin32
pip install pypiwin32
This tool will open a CANalyzer configuration(To minimum the code size, this tool will not create this configuration, user has to create it manually), and provide below functionlity:
- Call CAPL functions;
- Get CAN bus signal value;
- Send CAN bus signal value(via CAPL functionlity)
You should already know that Canalyzer support CAPL script, so why create this new tool?
This tool is part of EcuAutoTest, EcuAutoTest is used to control Vector CANalyzer and CANape in one script, to do some ECU auto test.
from python_canalyzer import PythonCanalyzer
canalyzer = PythonCanalyzer(r"E:\test\j1939.cfg", capl_path = r"E:\test\Config\Canalyzer\capl.can")
canalyzer.call_capl('CCVS1_RX_SA_232_EngShutdownOverrideSwitch', 3)
canalyzer.get_can_bus_signal_value(0, "DM01_T1", "DTC1")
canalyzer.send_can_bus_signal_value(0, "CCVS1_RX_SA_232", "EngShutdownOverrideSwitch",3)
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Sgnes - Initial work -
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Hat tip to anyone whose code was used
- Inspiration
- etc