04-07-2008 03:16 PM
04-07-2008 05:07 PM
Do you have any Watch Expressions in your project?
04-07-2008 05:54 PM
no watch expressions.
it follows ProcessSystemEvents()....it follows first ProcessSystemEvents()...doesn't matter where ProcessSystemEvents is.
04-09-2008 07:43 PM
Any CVI expert out there?
04-11-2008 09:40 AM
test_man,
If you go to Run»Breakpoints does the window report any breakpoints? It might be that somehow we created one inside the ProcessSystemEvents() code that we don't see. We may also want to check the Break On options (Run»Break On), which by default is only set to break on Library Errors. If these settings have changed it might be breaking on the You mention that this break occurs on the first instance of this call, even if you move it correct? If possible can you comment out the instances to run the program without calling this function, and if so, does this break move to another set of code? I presume this problem is limited to this program? If you can post a simplified version of this program we can take a look to see if we can reproduce the behavior on our end (it might be good to send the CVI project & workspace, not just the C files to get all of the settings).
05-28-2008 01:51 PM - edited 05-28-2008 01:52 PM
06-22-2008 02:00 PM
test_man,
I think you might be on the right track that the error lies within the included files. I can't run the complete code as I do not have all the header files you include, but if I include the ones I do have, the program runs fine. The only line I have to skip in either program is Ini_s tester; since this seems to come from one of the libraries I do not have. Therefore I wonder if this may be tied to that particular code since I am able to run the program normally without that line. Based on this observation I might check into the header which pertains to this code since, as best as I can tell, it might be the source of our problem. Even simpler, if we remove that code & its header does the program work?
06-22-2008 09:09 PM
I found root cause of this problem. It was #include "time_in_sec.h"
This .h is from a dll I created in labview and it was causing this problem. May be that dll takes longer time to load.. Once I removed this h file it worked fine.
I didn't need that dll/h file for that project so it worked out ok.