03-05-2013
03:35 PM
- last edited on
12-17-2024
10:14 AM
by
Content Cleaner
Hello
I have the NI 9862 CAN module and 9771 chassis so i can connect it to my notebook. The module is displayed in NI MAX that is ok. But i was wondering if i can make this demo https://forums.ni.com/t5/Example-Code/OBD-II-CAN-Car-Monitor-Demo/ta-p/3996162 work with my hardware .I would like to monitor the outputs of the sensors in the car. I do have automotive diagnostic command set.
Thak you for your help.
03-06-2013 04:05 AM
I think you may have problems because the 9862 module does not support the NI-CAN frame API which I think the Automotive Diagnostic Command set uses. I don't have this module so can't be sure, but we recently modified one of our rigs which inlcuded replacing USB-8473's with NI 9862's. Having quickly scanned the compatibility info I thought we'd be OK, but it turned out there was a small footnote which stated the 9862 didn't support the frame API. This caused me to have to re-write all the code dealing with the CAN interfaces, complicated by the fact that one of them used CANopen and the NI-XNET drivers don't support the CANopen library either. GRRRRRRR.
You may have to re-write all the CAN blocks to use the XNET dirver - a cheaper and quicker option might be to buy a USB-8473 interface which I'm pretty sure is supported (but please check!).
Regards
Paul
03-06-2013 04:09 AM
XNET 1.7 meanwhile supports 9862 via the NICAN compatibilty layer. If you install the NICAN compatibily layer (which is a component of NIXNET Installer, but deselected by default) you should be able to use the Frame API even on 9862 with the Automotive Diagnostic Command Set.
03-06-2013
04:34 AM
- last edited on
12-17-2024
10:17 AM
by
Content Cleaner
Ok
So if I download this installer https://www.ni.com/en/support/downloads/drivers/download.ni-can.html . That NICAN compatibily layer sould be part of that installation? And if I can install it I will be able to make that OBD demo work? Sorry my questions can be a little dull I am inexperienced in that sort of things.
Thank you for your help
03-06-2013 04:35 AM
never tried this OBD Demo with 9862 but I assume it should work. If not, let us know
03-06-2013 04:38 AM
keep in mind that you need last recent DAQmx installer as well
03-06-2013 05:15 AM
I could be wrong, but I'm pretty sure that the 9862 is not supported by the compatibility library - this was my problem.
Paul
03-06-2013 05:18 AM
see readme of XNET 1.7 for more details
here an extract
The NI-XNET 1.7 release adds the following features for PCI/PXI XNET interfaces and C Series modules used with CompactDAQ:
03-06-2013 05:22 AM
Brill.
Too late for me though - I had to re-write all my VI's !!!
Paul
03-06-2013 05:45 AM
The OBDII Monitor.exe (the demo) is not running. To get the demo running plaese do the following steps:
- Go to the folder of your extracted OBDII_Monitor_Demo
- Open the folder "Top-Level-Source"
- Start the "NI Car Monitor Narrow.vi"
- LabView will come with a message box to browse to the "OBD Setup.vi"
- Browse to the folder: C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Automotive Diagnostic Command Set
- open the "Diagnostic Trasnport.llb"
- select OBD Setup.vi
- Go to the Block Diagram of your "NI Car Monitor Narrow.vi"
- Select the OBD Setup.vi and do a "relink to SubVI"
- delete the broken wires
- The demo should run now
If you have a 9862 module. The modul is named as NI PCI-8512 (1port) below NI-CAN Devices in NI-MAX
Select this modul for the Demo.
Hope this helps.