Usbcan analyzer

My charger has canbus protocol. I also bought usbcan analyzer. For example the battery will charge up to 5V by giving 5A. Afterwards, it will give a constant 5V and stop charging at 2A. How can I make this application?
How should the connection diagram be?
Can I do this application in usbcan analyzer interface?
Do I need to use Arduino?
Çağlar Gediksiz