how to read the uploaded ecu call value in my c# application

A free API for the Communication with Control Units based on the CAN Calibration Protocol (CCP) by ASAM for Windows®
Post Reply
sanjeevnaik
Posts: 7
Joined: Wed 22. Feb 2012, 17:22

how to read the uploaded ecu call value in my c# application

Post by sanjeevnaik » Fri 6. Sep 2013, 21:36

hello
my question is how to read the uploaded ecu call value in my c# application.
In my c# application to read the calibration value i am sending upload command on CRO using PCAN-Basic CAN write metode and and continuously polling DTO using PCAN-Basic CAN Read methode to read the uploaded calibration value. But am not able to read the uploaded value in c# application but its visible in pcan viewer software. and most of the time i am getting the PCAN_ERROR_QRCVEMPTY error some time i am getting uploaded value but most of the time PCAN_ERROR_QRCVEMPTY with no value .Could u please help me to fix this problem i am using pcan-ccp api and pcan-basic api in my C# application

User avatar
U.Wilhelm
Sales & Support
Sales & Support
Posts: 1190
Joined: Fri 10. Sep 2010, 19:34

Re: how to read the uploaded ecu call value in my c# applica

Post by U.Wilhelm » Sun 8. Sep 2013, 10:30

if you use the CAN Layer 2 API - PCANBasic.DLL - you receive all CAN Frames on the BUS like the PCAN-View.
If you use a HighLyer API like CCP/XCP or UDS you read only the protocol specific CAN Frames.
With your description, we cold not solve your problem, because you talk about Layer2 API and HighLayer Protocol API.
Send more Information incl. source code , logging info etc. to support@peak-system.com to help you. Without ll these information we could not help.
--------------------------------
PEAK-System Technik
Technical Support Team
support@peak-system.com
-------------------------------

sanjeevnaik
Posts: 7
Joined: Wed 22. Feb 2012, 17:22

Re: how to read the uploaded ecu call value in my c# applica

Post by sanjeevnaik » Sun 8. Sep 2013, 14:52

Thanks for the reply
actually i want to read the ecu variable value(2 byte) in my application using ccp protocol.if i used upload ccp methode of HighLyer API like CCP i am able to see the variable value in DTO using can viewer software but not able to read the value in my application . that's why i used CAN Layer 2 API - PCANBasic.DLL to send upload command using write method but not able to read DTO response in my application.please tell me how to read the ecu variable value using HighLyer API like CCP .

User avatar
U.Wilhelm
Sales & Support
Sales & Support
Posts: 1190
Joined: Fri 10. Sep 2010, 19:34

Re: how to read the uploaded ecu call value in my c# applica

Post by U.Wilhelm » Sun 8. Sep 2013, 16:45

Sorry, but with this information nobody could help you to solve your Problem. :(
What do you want to use? CCP or Layer2? Send detailed info to our support email adress as i wrote.
including the complete project file - if we could not Compile we could not help.
--------------------------------
PEAK-System Technik
Technical Support Team
support@peak-system.com
-------------------------------

Post Reply