Some beginners think that a DB9 is a standard interface for a CAN bus, and when they see the DB9 serial port on their computer they think they can just use that. Oh yes, I didn't realize what this hardware does. ![]() But getting usable data out of this like Engine RPM is going to need some kind of database, or understanding of what the bits are, some times that is OEM specific, but Engine RPM is probably defined somewhere. Why is VISA involved are you talking to a COM port? You do realize that a RS-232 port which is a DB-9, is not the same as a CAN port which is a DB-9 correct? Assuming you have a real CAN port, usually in the form of a NI USB CAN device, you can run any of the examples shipped with the NI-CAN or NI-Xnet software to read and write raw frames. I want to avoid using Automotive Diagnostic Command Set, because it's to expensive for me. How can I for example read out Engine RPM? Do you have some example code? How do I do it? I tried to use the NI VISA functions, but didn't manage to read out anything sensible. Now I need to read out parameters in LabView. ![]() The connection between emulator, diagnostic device and computer works. ![]() I have connected an ELM327 diagnostic device with USB cable to the emulator and a PC. I have an Freematic OBD-II mk2 emulator which simulates diagnostics of a real car.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |