04-09-2013 09:12 AM
I recently updated from XNET 1.4 to XNET 1.7.
After the update my PXI-8516 LIN card will no longer transmit a diagnostic request if the second byte (PCI byte) is equal to or greater than 0x30. This is resulting in failures of tests that were developed using XNET 1.4, and failures of subsequent tests because the queued frames that weren't sent cause delays within the card.
How do send a LIN diangostic request with the second byte equal to or greater than 0x30 using XNET 1.7?
04-10-2013 09:18 AM
Hi jnclaker,
I believe you also sent in an e-mail request with regards to this inquiry. Are you seeing any error associated with the transmit? How did the code work before? I have some examples I'm going to send you via e-mail, please check your e-mail with regards to this request and let me know if it helps. Thanks!
04-10-2013 09:51 AM
Yes, I also sent an email regarding this problem.
I am using XNET to write a custom device for PXI-8516 LIN card.
I've attached a couple snippets showing where I've tracked the problem.
The only error that I've seen comes from the XNET Wait vi in the timeout snippet. I believe that error occurs because frame queued in the write snippet is never transmitted by the LIN card.
04-10-2013 10:06 AM
The custom device I'm using works for sending all of the other diagnostic requests in my tests, it just doesn't work if the second byte is equal to or greater than 0x30. Maybe because that PCI is invalid? However, that is exactly the reason I need to send it.
04-22-2013 03:59 AM
Hello,
I just started to use the LIN NI 9866 hardware, and have just the same problem. The second byte of master requests seems limited to 0x2F. I think the problems is in the Dll, because in labview step by step, up to the call of the dll, everything is OK, and data frames are not limited.
Did you found a workaround for this problem?
Olivier.
04-25-2013 12:17 AM
04-25-2013 01:20 AM - edited 04-25-2013 01:22 AM
I use XNET 1.7 with a NI 9866
I work around this problem by temporarelly using x3A and x3B as request and response frame instead of usual LIN diagnostic frames (x3C & x3D), but that s not the right solution.
04-25-2013 02:11 AM
Do you tried a XNET example for sending a LIN diagnostic request and response?
For example "LIN Frame Output Queued" and "LIN Frame Input Queued".
04-25-2013 06:13 AM
Yes, i used this example which was just what i needed.
I works fine, only if second byte is below 0x30. Otherwise the frame just isn t sent.
04-26-2013 02:32 AM
Can you make a screenshot of your settings?
I can't reproduce your problem. I see bus traffic also when setting the PCI byte to 0x30.
Do you check the bus traffic with the XNET bus monitor?