Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between ncConfigCANNet.vi and ncConfigCANObj.vi

What is the difference between ncConfigCANNet.vi and ncConfigCANObj.vi? What is a CAN Network Interface Object and a CAN Object? Can you give examples.

Thanks,
Peter
0 Kudos
Message 1 of 4
(5,001 Views)
Basically, the ncConfigCANNet.vi is for configuring the ENTIRE CAN bus, (speed, frame length, filters and masks, etc). The ncConfigCANObj.vi is really for 1 CAN object on the CAN bus. (CAN Message, repitition rate, etc)
So you configure the whole bus using ncConfigCANnet.vi, then configure each of your objects using a ncConfigCANobj.vi

Hope this helps,
0 Kudos
Message 2 of 4
(4,989 Views)
Thanks,
Peter
0 Kudos
Message 3 of 4
(4,969 Views)

Hi,

    I am getting -1074388736 error code with ncConfigCANObj.vi for message ID 1155 i.e 0x483. But for ID1156 there is no error.

After this message I get the error code for all the other message(decreasing order)in the dbc file. Can somebody please help me.

It is very urgent.

 

 

The CAN Object Config Values are

 

Period                                                  100

Read Queue length                              0

Write Queue Length                             0

Receive Changes Only                       FALSE

Communication Type                         Transmit Data By Call

Transmit By Response                       FALSE

Data Length                                         8

 

 

 

Thanks,

Siva

0 Kudos
Message 4 of 4
(3,966 Views)