Thread: CAN-bus project
View Single Post
Old 10-10-2012, 09:09 AM   #4 (permalink)
DIGItonium
A True Z Fanatic
 
DIGItonium's Avatar
 
Join Date: Jan 2009
Location: Kansas
Posts: 3,800
Drives: 09 Z34-TT 6MT
Rep Power: 42
DIGItonium has a reputation beyond reputeDIGItonium has a reputation beyond reputeDIGItonium has a reputation beyond reputeDIGItonium has a reputation beyond reputeDIGItonium has a reputation beyond reputeDIGItonium has a reputation beyond reputeDIGItonium has a reputation beyond reputeDIGItonium has a reputation beyond reputeDIGItonium has a reputation beyond reputeDIGItonium has a reputation beyond reputeDIGItonium has a reputation beyond repute
Default

I recommend creating a database of the PIDs so your program can run an SQL query to pull up the PID definition to decode and display the data. You can probably pull up a bunch of PIDs and not have immediate information, so it's nice to build this database to constantly update the PID definitions.

So column headers can include ID, data size, MSB/LSB resolution, units, etc. It'll be fairly flat, unless you want to make it relational by creating tables listing units, etc.

If you like, you can make the display HTML formatted so one can create all sorts of display styles or use images. Imagine using an image to indicate valve or switch opening and closing, or use color text to indicate warnings.
__________________
http://www.the370z.com/image.php?type=sigpic&userid=950&dateline=13162988  42
DIGItonium is offline   Reply With Quote