I am re-posting this as suggested.
This is related to this post: https://forums.ni.com/t5/LabVIEW/Maximum-XNET-Sessions/td-p/3625492
Hi,
I created a VI that checks the maximum number 'Stream' sessions we can create in one CAN physical port. It seems that we can create 8 maximum 'Stream' sessions wherein Frame In Stream and Out Stream are sharing for this limit.
What surprises me is that creating 'Frame In Queued' session set to J1939 application protocol is also consuming the limit of session you can create. Is this true?
Please see attached VI for you to test it.
Resources Used:
LabVIEW Version: LV2015 SP1
XNET Version: XNET 16.1
HW: NI USB-8502
Questions:
1. From this link, http://digital.ni.com/public.nsf/allkb/B6B0BF61BB8C90028625810200595A1F?OpenDocument, explanation is not clear regarding maximum limits because J1939 Frame In Queued session seems to be sharing also with the maximum limit of 8 sessions. And what surprises me is that one XNET J1939 Frame In Queued Session is allocating two sessions.
Is there any XNET documentation(with more details about maximum session) I can refer to?
2. Why the returned error(-1074384878) is referring to number of frames? I am expecting Error -1074384879 here which is: NI-XNET: (Hex 0xBFF63011) The maximum number of sessions was exceeded. Solution: use fewer sessions.
Thanks.
With Best Regards,
Michael