10-25-2017 12:21 PM
11-16-2017 08:47 AM
@JGruenberg wrote:
Off chance it's not a linear scaled number and is a IEEE 754 floating point (which I've never seen on an automotive network), you'd get 599.36 which seems not implausible.
That's it! It's a IEEE 754 floating point data format. I used the IEEE-754 Floating Point Converter and included information to decipher and write my LabVIEW code (URL attached). Thanks for sending me the 599.36 value which I used to verify operation.
IEEE 754 floating point calculator and info to write your own LabVIEW code:
11-16-2017 09:08 AM
@Minions wrote:
Additionally, you will need to know if the information is being presented as Big or little endian. Do you happen to know the Baud rate and BTR values? All of this information should be present within the file extensions that Hooovahh mentioned. Also, a .MAP file might also be benefit.
I have the endianess and baud rate, and the A2l file specific to the vehicle, however, I can't find any of the parameters I apparently need to communicate listed in the A2l file. Looks like I still need CRO ID, Data Transfer Object, DTO ID and Station Address. I can most probably get access to the seed file. The NI A2L Viewer lists a CCP folder under Cal Pages, so I'm assuming the ECU protocol is CCP. The CCP folder is empty. I have some feelers out.
11-16-2017 09:19 AM
@sfrosty wrote:
however, I can't find any of the parameters I apparently need to communicate listed in the A2l file. Looks like I still need CRO ID, Data Transfer Object, DTO ID and Station Address.
As far as I know the A2L defines the CRO ID and DTO ID, I'm unsure if the other parameters are in there or not. I've also seen some DBCs that define what these IDs are, even if they aren't really used in the signal API.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
11-16-2017 09:29 AM
No need for complicated math -- you can do a simple type cast:
12-01-2017 05:43 AM
@Hooovahh wrote:
@sfrosty wrote:
however, I can't find any of the parameters I apparently need to communicate listed in the A2l file. Looks like I still need CRO ID, Data Transfer Object, DTO ID and Station Address.
As far as I know the A2L defines the CRO ID and DTO ID, I'm unsure if the other parameters are in there or not. I've also seen some DBCs that define what these IDs are, even if they aren't really used in the signal API.
Don't see the CRO ID or DTO ID in the A2L. Still looking for info. Don't have a DBC file, is that something I should look to acquire?
12-01-2017 05:44 AM
@JGruenberg wrote:
No need for complicated math -- you can do a simple type cast:
Thank you for the response. I'll keep it in mind. However, I don't see how it would apply in this case. Thanks again!
12-01-2017 08:28 AM
@sfrosty wrote:
Don't see the CRO ID or DTO ID in the A2L. Still looking for info. Don't have a DBC file, is that something I should look to acquire?
I've never needed the DBC for CCP or XCP communication since the A2L file for me has always contained the information needed. I was just suggesting another way to possibly get the information you are looking for.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
12-01-2017 08:38 AM
@Hooovahh wrote:
@sfrosty wrote:
Don't see the CRO ID or DTO ID in the A2L. Still looking for info. Don't have a DBC file, is that something I should look to acquire?
I've never needed the DBC for CCP or XCP communication since the A2L file for me has always contained the information needed. I was just suggesting another way to possibly get the information you are looking for.
Have you ever communicated with a GM, Ford, or Chrysler vehicle utilizing only the information from the A2L file? For example, acquiring engine RPM or Throttle Position. I know these are available via OBDII; just using as an example that the output can easily be verified.
12-01-2017 08:54 AM - edited 12-01-2017 08:55 AM
@sfrosty wrote:
Have you ever communicated with a GM, Ford, or Chrysler vehicle utilizing only the information from the A2L file?
Yes, not specifically to read engine RPM but other diagnostic information stored in DIDs, and PIDs.
Edit: sorry wrong protocol, but yes I've used it to read XCP information with nothing other than an A2L.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord