March 17th, 2013, 11:10 AM
I have CAN Dll program for my application,which was separately used.Now I have included the Drivers program into my application Program and I am having this error System Access Violation...
March 12th, 2013, 10:58 AM
But I haven't used #include <windows.h>,except for the file server_main.cpp. When i am trying to remove the<windows.h> from that file I am getting the error as
1>ServerMain.obj : error LNK2022:...
March 12th, 2013, 10:43 AM
I have made few changes to my code like included the CAN Dll file with in my Application code.I am using VS 2008 and after compiling I am getting this error:
1>------ Build started:...
February 21st, 2013, 10:04 AM
Can you Please tell me how to set filter for CAN driver to receive only the message id,which are required?
February 19th, 2013, 03:16 PM
Yes Paul I have removed the printf. Thanks for the information.
February 19th, 2013, 02:22 PM
All the messages which are around 11 of them has to be received in 40 milliseconds.That means approx 4 ms for each messages.But instead of getting all 11 messages once in 40 ms,these are received...
February 19th, 2013, 12:04 PM
I have changed my code in #12 as per the code in #13.And I am sure that the threads I have implemented working fine except for this receive thread.
February 19th, 2013, 11:55 AM
[QUOTE] How did you confirm that it is the Rcv_Msg() thread that is actually using the CPU? What are the other threads in the application doing?
I have used Procexp to see what all threads are...
February 18th, 2013, 02:59 PM
I think new messages are coming before the previously received messages are parsed.As a result the buffer is overwritten.So can you tell me am I thinking in the correct way?If so by creating a buffer...
February 18th, 2013, 02:31 PM
I have used this tool and I have seen that there is no memory leak.The CPU usage is mainly because of receiver thread which is continuously running,that is used for receiving messages from CAN...
February 17th, 2013, 07:21 PM
Can you please tell me how to avoid the non-blocking of xlreceive().I tried adding xlSetNotification() API in my code.And how can I call xlreceive() to read more than 1 event at a time?
February 15th, 2013, 05:37 PM
But for my case its an issue,because of High CPU usage the performance of HMI is degrading.After 3 hours of continuous HMI Pc getting slower.
I am using XL Driver library.
February 15th, 2013, 12:57 PM
So is there any other way to solve this issue.i am thinking that the buffer size for the receiving CAN messages is not large enough.So by creating larger buffer will solve this issue?
February 13th, 2013, 04:46 PM
I am struck with a serious issue and not able to get through it.I am writing a program which handles the CAN messages Received from BUS.My code is taking almost 60% of CPU usage.