Packed data anyone????????
Hey everyone, I know someone can help me here. I created the OBD program OBD INFORMER and everything works rather well however when I try to capture data from a lot of sensors, it take around 6 seconds per cycle. I would like to use the packed data mode on the elms 323 interface but I dont know how to read the data in VB6.
right now i have a comport called obd2 and I read the data into a string using the normal data mode so it looks like this....
obd2.Output = "010D" & vbCr
mystrg = mystrg & frmObd2.obd2.Input
Loop While InStr(1, mystrg, ">", vbTextCompare) < 1
B1 = Mid(mystrg, 7, 2)
'convert selection into decimal
B3 = ("&H" & B1)
'Do calculation for speed
Speed = (B3 * 0.6215)
Can someone post the same code sample using packed data mode????? I know someone can help me here! THANKS EVERYONE!!!:yield: