02-12-2014 04:15 AM
Hi,
This is my first post here so please excuse me if I ask anything silly. I've trawled through the forums and documentation, but, can't find a solution to my issue.
I am writing Diagnostic application to perform quality testing of Automotive CAN ECUs. Most of the data I need can be accessed via Diagnostic reads and controls (Automotive Diagnostic Command Set). My problem is that some of our module require some additional standard CAN messages to be sent and recieved. I have managed to send messages O.K. (Basically, I dug down into the I/O Control VI and extracted the VI which writes the actual CAN message).
My problem is that I cannot seem to read any CAN message data.
are there any preferred techniques for doing so?
- Close Diag handle => Open NICAN Handle => Read CAN Data => Re-Open Diag Handle?
- Use a specific VI from the Automotive Diagnostic Command Set?
- Read some queue which has the data already?
Thanks in advance for any help that can be provided.
Rory
02-13-2014 10:30 AM
Hi there,
It would help if you could provide a screenshot of the code you've attempted so far which is running into issues?
Additionally, just in case it was overlooked - LabVIEW does have a number of CAN related demo's built in - if you search for NI-CAN in the example finder, it should hopefully come up with a list of relevant files.