08-27-2013 02:54 PM
Does anyone have an example of LabWindow/CVI codes to communicate with an automotive parts through NI XNET CAN card (NI PXI-8512)? ( I am using LabWindows/CVI 2010 under Window 7 environment) .
I think I can sending out CAN message to the automotive parts but I did not see any response back from the module.
(The automotive module is a good part)
Any suggestion?
Thanks.
08-28-2013 11:16 AM
Hi caroltse,
Once installed the NI Xnet driver, you can go to this path in your computer and look for the example code:
C:\Users\Public\Documents\National Instruments\CVI\Samples\nixnet
Regards,
08-28-2013 11:35 AM
I did go through examples under c:\users\Public\Public Documents\National Instrument\CVI\samples\nixnet\can
There are so many different approachs and I am not sure which approach will be suit for my application.
My goal is to commincate with an automative part through NI XNET CAN Hight speed device.
I tried using Frame approach, I saw CAN message out but I did not get response back from module.
Is there any working example of sending and receiving CAN message from a module that I can see to debug my application?
Thanks.
08-29-2013 09:04 AM
Hi,
If you go for example to the Can\Advanced folder you will find different options, which option you should choose will depend on the device that you are trying to communicate with. Does your devices uses frames? In that case you can try the CAN Frame Input Output Same Port code.
Can you provide more information about the device your are using?
Regards,