Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   CAN (http://www.chiefdelphi.com/forums/forumdisplay.php?f=185)
-   -   PDP CAN receive timeout (http://www.chiefdelphi.com/forums/showthread.php?t=144406)

The Doctor 22-02-2016 10:26

PDP CAN receive timeout
 
We've been having this problem all year. Last year, I wrote a program to stream sensor readings to the DS for debugging purposes. This year, it didn't work. Most of the sensors still work, but this year the amperage readings on the PDP cause all kinds of CAN timeout errors.

The line of code that doesn't work:

Code:

for (int i = 0; i < 16; i++)
    table.putNumber("pwr_c_" + i,pdp.getCurrent(i)); // current draw for all 16 channels

The error looks something like "CTRE CAN Receive Timeout".

I've tried this with two different Rios and two different PDBs, with no luck. The weird part is, the problem only affects the current readings. Voltage and temperature readings for the PDB are working fine.


All times are GMT -5. The time now is 20:15.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi