please consider first to load and compile one of the samples that are comming with the UDS package. It seems that either you have enough knowledge about UDS, nor about the API nor about using the programming language that you have choose. Nevertheless, I will try to answer your questions:
- In that UDS_Initialize_2013 API using only 2 parameter. when we are trying to use error C2198: 'UDS_Initialize_2013': too few arguments for call?
--> The function actually needs 5 parameters, but the last 3 have default values. Note that the sample in the documentation is for "C++". If you are using C, then you need to specify all values since the language "C" does not support default value initialization for parameters. See the function declaration in page 508. - As request configuration as mentioned below, we are getting error for initialization. error code 01?
--> Which PCAN device are you using? PCAN-USB? PCAN-PCI? Check the IPEH number located in the label on your product. If you have a valid PEAK adapter and this is attached to the PC, and the drivers are loaded, and if it is still not connected by any other application then the call to the function must just work. ERROR_NOT_INITIALIZED just says that the given handle coult not be initialized because it is not present on your system. - Why 3rd parameter of UDS_Initialize_2013 (cantp_hwtype) API 0 indicate PCANTP_HWTYPE_ISA but we are using PLUG and PLAY device USB?
--> Same as in 1. The parameter just defaults to 0.
Please understand that we do not give support for the protocols (ISO-TP, UDS) or for the programming languages. The scope of our support cover only API usage. My colleage gave you already several answers, and mostly of them (when not all of them) are in the manual and in the sample applications already covered.
If you cannot connect your device with PCAN-View, let us know. We will be glad to help you configuring the device on your PC.