Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN Network Interface Object problem

Hi,

 

For one of our application we need to find out the CAN baud (500kbps or 250)rate at run time. To achive this we have done the following steps

1) configure with 250\500 kbps

2) Open CAN

3) Wait

4) If we get any error then we assume that is wrong baud rate

5 )If it is wrong baud rate then we have reset and close ref again try to do the above seq to find out the current baud rate.

 

The programe running with out giving any problem for some time. But rarely it gives the error number: -1074388969(Hex: 0xBFF62017)

 

Please give us ur suggestion

 

Thanks.

0 Kudos
Message 1 of 2
(6,211 Views)

NI-CAN:  (Hex 0xBFF62017) This attribute's value must be provided prior to the Open.  Solutions: Set the attribute using the Config function before the Open, and do not set the attribute at any later time; Do not configure multiple CAN Objects for the same ID.

 

--> I would try to insert a delay between 5) and 1).

0 Kudos
Message 2 of 2
(6,208 Views)