Hello,
I am a very beginner with using Peak USB FD device and using PEAK API's. I have a project that I am currently working on and want to test if my ECU is receiving any message by sending a UDS message from my PC using PCAN-UDS-API.
So I just want to confirm if the steps I am following are correct:
1. Download the PCAN-UDS API from the website and extract all the files.
2. Import the sample folder into Visual Studio Code.
3. Select the appropriate device and baud rate in one of the project (Eg. server_response_ecu_reset.cpp).
4. Run the Program by just pressing on the run button in VSCode.
This should send UDS messages to my CAN via PEAK USB FD device right ? In case, I want to verify, I can connect the output of High and Low to a Logic Analyzer and verify it. Am I missing any step ?
I went through the UDS manual, but there is no mention about samples provided. I am sure my hardware is working fine, because I am able to send and receive the basic CAN messages using the inbuilt drivers of the ECU and read them in PCAN-View.
How to use the Samples from PCAN UDS API?
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: How to use the Samples from PCAN UDS API?
Hello,
There is a reason we provide the sample as Visual Studio Projects, this way we can ensure the projects can be used. We would recommend checking these Samples in Visual-Studio instead, as VS Code would need further configuration before building/running the examples.
And yes, once in Visual Studio, you simply run the example, any further operation will be handled via console.
BR
Marvin
There is a reason we provide the sample as Visual Studio Projects, this way we can ensure the projects can be used. We would recommend checking these Samples in Visual-Studio instead, as VS Code would need further configuration before building/running the examples.
And yes, once in Visual Studio, you simply run the example, any further operation will be handled via console.
BR
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team