04-05-2023 01:14 AM
I want to access CAN bus using PCI-6221 in c#. Can someone provide me information about CAN bus and how to access it. Im a beginner in this.
Thanks
04-05-2023
07:53 AM
- last edited on
09-04-2025
05:59 PM
by
Content Cleaner
You need to buy a CAN bus supported Hardware. 6221 is a multifunctional DAQ.
Here is a list of CAN hardware from NI - https://www.ni.com/en-us/shop/category/vehicle-communication-buses.html?productId=118158
04-10-2023 02:30 AM
I'm Using a 6229 DAQ card, PXIe 1073 chassis, PCI 8361 remote control card. Do I also have to buy a CAN interface device or I can access the CAN bus using this hardware.
Thanks
04-10-2023 07:12 AM - edited 04-10-2023 07:15 AM
@gurman312 wrote:
I'm Using a 6229 DAQ card, PXIe 1073 chassis, PCI 8361 remote control card. Do I also have to buy a CAN interface device or I can access the CAN bus using this hardware.
Thanks
No, you can't. DAQ device is not capable of doing CAN communication. You must get a CAN interface.
Since you are not using LabVIEW but C# and C# are not natively supported in NI-XNET, you can consider getting PCAN-USB which is cheaper. There are many GitHub repo for PCAN-USB C# API available online.