01-04-2018 07:02 AM
Hi,
I develop an application to use 9 "NI PCI-8512" CAN Cards with LabView 2015, NI-XNET 17.0.1 under Windows 7.
Note: I use only "XNET Create Session (Frame Input Stream).vi" and "XNET Create Session (Frame Output Stream).vi" functions for each CAN port.
An error "XNET CAN Create Session error 0xBFF63001 " appears randomly on CAN initialization for one or more cards and I can't properly initialize the 9 CAN cards.
After an initialization error, the CAN ports in error are renamed in NI-MAX to "CAN-1" and I have to restart the PC to get correct CAN names.
I attached a screenshot of my test program, as well as the result of the initialization of the 9 CAN cards (cards 5, 7 and 8 in error in this example).
Do anyone have any idea to solve the CAN initialization problem?
Thanks,
Christophe
Solved! Go to Solution.
01-04-2018 07:41 AM
Any chance you can upload your actual VIs instead of just screenshots?
Also, are there any hints about what is happening in %LOCALAPPDATA%\National Instruments\NI-XNET\log\niXntErr.log?
01-04-2018 08:14 AM
Hi,
You can find in attached files my CAN tests vi's and error logs.
Thanks,
Christophe
01-09-2018 09:05 AM
Hi Christophe,
There is a hard limit : Maximum of 8 Frame Input Stream sessions that can be created and active at any one time.
You could find the information in this KB :
NI-XNET Error -1074384878: Maximum Number of Frames Has Been Exceeded
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P7kHSAS
If you initialize only 8 CAN cards, does the error still exist ?
Best regards,
Eloise
NI France
01-10-2018 02:11 AM
Hi Eloise,
Thank you very much for this information, this explains my CAN "Input Stream Session" problem.
Indeed, I initialize two input sessions for each CAN card and the problem often happens after the fourth card...
Best Regards,
Christophe