sample_canbus_interpreter error

Hello,

I did some change in the sample_canbus_interpreter code and compiled it for the DrivePx2 target. With sample dbc the code runs perfect as below:
./sample_canbus_interpreter
Program Arguments:
–dbc=/usr/local/driveworks/data/samples/sensors/can/sample.dbc
–driver=can.virtual
–params=file=/usr/local/driveworks/data/samples/sensors/can/canbus_dbc.can

[27-8-2019 15:46:28] Initialize DriveWorks SDK v1.2.400
[27-8-2019 15:46:28] Release build with GNU 4.9.4 from v1.2.0-rc11-0-ga7f5475 against Vibrante PDK v5.0.10.3
[27-8-2019 15:46:28] Platform: Detected Drive PX2 - Tegra A
[27-8-2019 15:46:28] TimeSource: monotonic epoch time offset is 1566884510809030
[27-8-2019 15:46:28] Platform: number of GPU devices detected 1
[27-8-2019 15:46:28] Platform: currently selected GPU device integrated ID 0
[27-8-2019 15:46:28] SDK: Resources mounted from /usr/local/driveworks-1.2/data/resources
[27-8-2019 15:46:28] SDK: Create NvMediaDevice
[27-8-2019 15:46:28] SDK: Create NvMediaIPPManager
[27-8-2019 15:46:28] egl::Display: found 1 EGL devices
[27-8-2019 15:46:28] egl::Display: use drm device: drm-nvdc
[27-8-2019 15:46:28] SensorFactory::createSensor() → can.virtual, file=/usr/local/driveworks/data/samples/sensors/can/canbus_dbc.can
[27-8-2019 15:46:28] CAN: cannot determine file version, file might be incompatible.
[27-8-2019 15:46:28] CAN: no seek table found at /usr/local/driveworks/data/samples/sensors/can/canbus_dbc.can.seek, seeking is not available.
Create DBC-based CAN message interpreter
inputFilePath ==/usr/local/driveworks/data/samples/sensors/can/sample.dbc
[27-8-2019 15:46:28]
CAN DBC parsed results:
numMessages: 5
numSignals: 45
numSignalsExtendedValueType: 0
numInvalidMessages: 0
numInvalidSignals: 0
numInvalidSignalsExtendedValueType: 0

5652171936 [0x100] → 0x7e 0xbb 0x2 0x0 Car steering 0.111919 rad at [5652171936]
5652171936 [0x200] → 0x80 0x57 0x2 0x0 Car speed 1.53472 m/s at [5652171936]
5652174567 [0x100] → 0xa0 0xc1 0x2 0x0 Car steering 0.1129 rad at [5652174567]

but when I give separate dbc file to work with, I get can error in dwCANInterpreter_buildFromDBC saying 'CAN DBC parser: Unable to open input file ’ as below:
./sample_canbus_interpreter --dbc=[/usr/local/driveworks/bin-nsight/dbcs/.dbc]
Program Arguments:
–dbc=[/usr/local/driveworks/bin-nsight/dbcs/
.dbc]
–driver=can.virtual
–params=file=/usr/local/driveworks/data/samples/sensors/can/canbus_dbc.can

[27-8-2019 14:15:57] Initialize DriveWorks SDK v1.2.400
[27-8-2019 14:15:57] Release build with GNU 4.9.4 from v1.2.0-rc11-0-ga7f5475 against Vibrante PDK v5.0.10.3
[27-8-2019 14:15:57] Platform: Detected Drive PX2 - Tegra A
[27-8-2019 14:15:57] TimeSource: monotonic epoch time offset is 1566884510809030
[27-8-2019 14:15:58] Platform: number of GPU devices detected 1
[27-8-2019 14:15:58] Platform: currently selected GPU device integrated ID 0
[27-8-2019 14:15:58] SDK: Resources mounted from /usr/local/driveworks-1.2/data/resources
[27-8-2019 14:15:58] SDK: Create NvMediaDevice
[27-8-2019 14:15:58] SDK: Create NvMediaIPPManager
[27-8-2019 14:15:58] egl::Display: found 1 EGL devices
[27-8-2019 14:15:58] egl::Display: use drm device: drm-nvdc
[27-8-2019 14:15:58] SensorFactory::createSensor() → can.virtual, file=/usr/local/driveworks/data/samples/sensors/can/canbus_dbc.can
[27-8-2019 14:15:58] CAN: cannot determine file version, file might be incompatible.
[27-8-2019 14:15:58] CAN: no seek table found at /usr/local/driveworks/data/samples/sensors/can/canbus_dbc.can.seek, seeking is not available.
Create DBC-based CAN message interpreter
inputFilePath ==[/usr/local/driveworks/bin-nsight/dbcs/****.dbc]
[27-8-2019 14:15:58] CAN DBC parser: Unable to open input file
[27-8-2019 14:15:58] Driveworks exception thrown: DW_FILE_NOT_FOUND: CAN DBC: cannot open input dbc file

Cannot create DBC-based CAN message interpreter
5652171936 [0x100] → 0x7e 0xbb 0x2 0x0
5652171936 [0x200] → 0x80 0x57 0x2 0x0

Please let me know if I need to do any changes or what mistake I have done when we use any other can dbc other than sample dbc provided by Nvidia.

I found my mistake. !! I sent the input argument in the wrong way .
But Anyway thank you!

Dear Raghunandan,
Please check with ./sample_canbus_interpreter --dbc=/usr/local/driveworks/bin-nsight/dbcs/ADCAN_DriveMe1b_SPA2310.dbc(Remove brackets to input file)