11-05-2007 07:21 PM
11-06-2007 10:57 AM
What is the negative number you mentioned? Did you translate this number to an error message?
Whenever the api gives you a negative number, this means that an error occured. Please post this error and the function name where the error occured first.
DirkW
11-06-2007 11:36 AM
Well,
Function name As I described you first is "ncWrite".I have to check what is negative value and will let u know.But looks to me function is behaving correctly because what ever data i am trying to send as by configurig the LIN as slave devices is happening correctly.
So I have no idea why it is giving me error message.And This is only happening in my Application which is written in MFC C++.I have example program which is pure C and in that it returns no negative status. So that make confusion bigger.
I will let you know the code as soon as I find out.
Thanks
Chirayu
11-06-2007 08:01 PM
11-08-2007 08:26 PM
11-09-2007 09:38 AM
11-09-2007 11:47 AM
Hi,
Thanks for your reply..
Well, I am using decimal 16.It is sending the frame data as well as check sum correctly as I can verify that but Status coming back is negative because of some reason.I had a Error logging also enable.So the message i think its detailed message that its coming with.
Let me know if you any idea that I can try else.
Thanks
Chirayu
11-12-2007 08:46 AM
11-12-2007 01:44 PM
11-13-2007 08:14 AM
Could you post a small example showing what you are doing and which should reproduce the error?
Thanks
DirkW