Log in

View Full Version : How to add items to log file


dawonn
14-02-2015, 08:47
Is it possible to add items to log file in the drivers station?

Specifically, I would like to add the current draw for each of my motors as reported by the pdb to that log file. I'm wondering if wpilibj.communication.UsageReporting might have something to do with it?

Thanks in advance!

Mark McLeod
14-02-2015, 08:59
No, that would mess up the Log Viewer which is coded to the existing format.

You can create your own time stamped log in parallel.
The Driver Station also captures the PDP current logs, but it's a binary file and there isn't a reader for the data yet. I believe that it is also stored in the same Log Files folder.