10-16-2009 04:20 AM
I have a timed loop that is sending CAN messages via XNET VIs. This works wonderful, but I always lose the very first message. It does not matter, whether I am sending the first message immediately after creating the XNET session or after some msecs.
The attached screenshot is showing the initialization of my four XNET sessions. Although I am pre-starting the session with a XNET Start VI, there is no success in sending the very first message.
It seems, that the CAN sessions/interfaces (Selectable and HS CAN cards) are only initialized after the first call to XNET Write. XNET Write seems to imply XNET Start (see documentation), but calling XNET Start manually after creating the sessions does not help.
What am I missing to get the interfaces online and ready before sending anything?
Solved! Go to Solution.
10-16-2009 07:52 AM
I was able to solve this problem as it was actually not related to XNET VIs Sorry for this post.
10-16-2009 08:57 AM
07-20-2012 04:39 AM
would you plaese share your code?