A free API for the communication with control devices according to UDS (ISO 14229-1)
- Posts: 1
- Joined: Thu 26. Nov 2020, 13:44
I am using PCAN UDS API for creating a windows based tool in one of my projects and I would like to generate a trace file, like the one is generated in the PCAN tool, for our tool. Is there some API which I can use inorder to create this trace file?
- Software Development
- Posts: 765
- Joined: Wed 22. Sep 2010, 13:36
since UDS is based on PCAN-Basic, you can use this API to start a tracing operation. You will then get a PCAN-Trace file like those generated by PCAN-View. For this you need to call the PCAN-Basic function CAN_SetValue with the UDS handle you have initialized, to set the parameter PCAN_TRACE_STATUS to On.
More information can be found in the "PCAN Parameters documentation" of PCAN-Basic.