01-12-2015 12:44 AM
Hi
I want to limit the number of creatable sessions of one port. Is there a limiting functionality or can I read out the number of created sessions of the selected port.
Used board: NI PCI-8512 CAN/HS with two ports
Thank you in advance for your help.
Solved! Go to Solution.
01-12-2015 07:53 AM
Just curious, how are sessions being created when you don't want them to be? Just create one session for each interface and each type that you want (frame, channel) and then never close them until the application exists. There is little need to dynamically create and destroy sessions. And even if you did want to do that you could keep track of them in a functional global or something then reuse already opened ones instead of creating new ones.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord