Code Monkey home page Code Monkey logo

automationwithcanalyzer's Introduction

Automation With CANalyzer


This project is based on Ford SYNC TDK and TCU module whose details are hidden and not covered at all, written in Python programming language. It's a fully automation tool on TCU module, provided with a GUI showing tests' logs and results based on user-defined scripts.

A PCB board is specially designed for this project named 'LoadBox' using Arduino.

The Python script can communicate with 'Loadbox', Ford SYNC TDK module through serial and CANalyzer through Python COM library.

System Diagram

Python

Since the whole CAN DataBase is not provided, however, a simple 'python.dbc' database is provided in folder CANalyzer config and CAPL functions. Run 'canalyzer_test.py' to see how it works.

Main Scripts

  1. automation_gui.py Main GUI thread. Users can select serial port, type in scripts and start automation.
  2. tdk.py Communicate with Ford SYNC TDK module through serial.
  3. loadbox.py Communicate with specially designed PCB board (see also Arduino section) through serial. Graphical User Interface Graphical User Interface (OLD)

File

  1. script.txt APIs for all supported scripts.
  2. diag_list.txt Save diagnostic results.
  3. can_status_list.txt Save CAN signals from CANalyzer through COM library.

CANalyzer config and CAPL functions

  1. test.cfg CANalyzer configuration used for communication with Python and calling CAPL function from Python.
  2. call_capl_function.can It's a CAPL script that is designed for automation test cases and it can be called from Python.
  3. python.dbc A simple CAN Database. Only contains one message and one signal.

Arduino

  1. FullBoard-TimerOne.ino Arduino code designed for a PCB board.
  2. Board API.docx Board APIs that can be called from external applications.
  3. FullBoardDriver.exe A test GUI for Arduino board.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.