Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing can bus using ni daq device in C#

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

0 Kudos
Message 1 of 4
(1,798 Views)

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

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 4
(1,776 Views)

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

0 Kudos
Message 3 of 4
(1,742 Views)

@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.

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
0 Kudos
Message 4 of 4
(1,729 Views)