07-31-2021 10:24 PM
I am trying to open diagnostic on CAN FD interface and get the error -1074384742. I can get this error while programming: create a XnetFrameOut as QueueIn or FrameIn mode, and then open diagnostic on CAN FD with CAN2@nixnet or CAN2@ni_genie_nixnet, and then get this error.
Error -1074384742 occurs at Diag CAN open Ex.vi
Possible Reason:
NI-XNET: (Hex 0xBFF6309A) The interface has already been opened with different cluster settings than the ones specified for this session. Solution: Make sure that the cluster settings agree for the interface, or use a different interface.
I can also get this error while using Xnet Bus Monitor. Firstly I configure the NI-Xnet Bus Monitor as follows:
Then Run another VI like this:
In fact I have tried in exhaustive method to change all the input parameters except CANFD IO mode of the open diagnostic on CAN FD.vi, including baudrate or custom boadrate, enabling/disabling the termination of the interface ( and ensure that input parameters I can see with eyes are that same in all the VIs && Threads && Applications ) , however the error repeats again and again.
Can you help me to find out the reason? How can I open diagnostic on CAN FD successfully on interface with CANFD IO mode ?
System: windows 10 64bit
Version: LabVIEW 2018
NI-XNET 20.5.1
NI-ECMC 20.7.0
NI-ADS 20.6.0
08-01-2021 04:15 PM
Hi,
please select "CAN FD+BRS" as CAN IO mode in all other XNET Sessions / in Bus Monitor, to make use of the FD Baud Rate of 2MBaud.
ADCS uses CAN FD+BRS mode when opening the XNET interface, if an FD baud rate was set.
The VI input "IO Mode" is for selecting which kind of frames the ADCS session sends (CAN: CAN 2.0 frames, CAN FD: Long frames not using BRS, CAN FD+BRS: Long frames using BRS), not which I/O mode is used to open the XNET interface.
06-25-2022 10:21 AM
How did you solve it?How did you solve it?
I use ADCS to report an error
Can you help me?