View Single Post
Old 09-14-2004, 10:36 AM   #35
god_of_cpu
Raw Wave
 
god_of_cpu's Avatar
 
Join Date: Jan 2004
Location: SilverSpring Maryland
Posts: 2,957
Thats interesing... The m_header member isn't even used in the plug-in other then to initialize it so it should always be 0. Maybe its the type declaration in VB?

Have you looked at the values for m_Data in the packet prior to calling API_OBDII_Mode1_GetPacket and seeing if they are actually changed by the function call to see if the 205s are getting set by the plug-in or just garbage values that are in your varible to begin with?

Also, this shouldn't make a difference, but try using this packet type and see if you get better results:

Code:
Type API_OBDII_MSGPACKET m_dwTimeRecieved As Long m_iNumDataBytes As Byte m_Header1 As Byte m_Header2 As Byte m_Header3 As Byte m_Data1 As Byte m_Data2 As Byte m_Data3 As Byte m_Data4 As Byte m_Data5 As Byte m_Data6 As Byte m_Data7 As Byte End Type

__________________
StreetDeck.com Developer (I am Chuck)
Get StreetDeck at http://www.streetdeck.com
The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.

Last edited by god_of_cpu; 09-14-2004 at 10:39 AM.
god_of_cpu is offline   Reply With Quote