The CAN BUS SHIELD and its library are made specialy to function with the OBD2 jack . OBD2 jack it its directly connected with Controller Area Network (CAN).
The diffrence at my setup it is that i connect CAN BUS SHIELD with my laptop through a serial jack (DB9)-USB.
I espect some changes in the librarys code. But i cant figure it out.
The issue with your setup is that the USB-DB9 cable you are using is a USB to RS-232 adapter. Even though the CAN BUS Shield has a DB9 connector, the interface is not RS-232. CAN and RS-232 are two very different communication protocols. I don’t think they are even using the same pinout on the DB9 connector (RS-232 uses 2-Rx, 3-Tx, 5-GND whereas the CAN BUS Shield uses 2-GND, 3-CANH, 5-CANL, 9-12V). So I don’t expect you to be able to communicate between your laptop and the CAN BUS Shield using that adapter. Sorry for the bad news.