From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with ncWriteMult in C/C++

Hello,

i try to use the ncWriteMult function in my C-application to write a block of CAN Messages but it doesn't work like i expect it to work. So is there any example how to handle this function in C/C++.

Thanks
Andreas
0 Kudos
Message 1 of 2
(3,097 Views)

Hi!

I found not exactly an example for ncWriteMult but for ncReadMult. I hope it helps nevertheless.

If you install NI-CAN (Version 2.3) in the installation menu you can select 'Support for Borland C'. After the installation you can find the example 'Readmult.c' on following path:

C:\Programme\National Instruments\NI-CAN\Borland C\Frame API examples\Readmult\

Wolfgang

0 Kudos
Message 2 of 2
(3,065 Views)