How to create Trace files using PCAN UDS api
How to create Trace files using PCAN UDS api
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?
Re: How to create Trace files using PCAN UDS api
Hello,
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.
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.
Best regards,
Keneth
Keneth