Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 0xBFF63162 on CompactRio using CAN 9862 interface

Hi,

 

I'm trying to use CAN interface on 9862 from two concurrent loops on CompactRio, but without sharing the same xnet sessions (independent CAN identifiers). One thread returns following error:

 

NI-XNET:  (Hex 0xBFF63162) When an XNET session is used at runtime, all sessions in the same scope are created on the interface. The same scope is defined as all sessions within the same LabVIEW project which use the same cluster and interface (same physical cable configuration). If you attempt to use a session in the same scope after running the VI, this error occurs. The most likely cause is that you added a new session, and tried to use that new session in a running VI. Solution: Configure all session in LabVIEW project, then run the VI(s) that use those sessions.

 

Threads run separately do not cause any troubles and do their job.

I tried to do all possible gimmicks inclusive redeploying all VI etc., it does not help.

 

How to fix that ?

 

Regards

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

Update: CompactRio seems to be not able to accept more than one CAN DB in a project. After merging two separate DB's used, all errors are gone.

0 Kudos
Message 2 of 2
(5,987 Views)